Merge lp:~smoser/cloud-init/trunk.disable-clouddinit into lp:~cloud-init-dev/cloud-init/trunk
| Status: | Merged |
|---|---|
| Merged at revision: | 1171 |
| Proposed branch: | lp:~smoser/cloud-init/trunk.disable-clouddinit |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
412 lines (+232/-41) 11 files modified
packages/bddeb (+6/-5) packages/debian/cloud-init.postinst (+17/-0) packages/debian/cloud-init.preinst (+22/-0) packages/debian/rules.in (+3/-1) setup.py (+46/-31) systemd/cloud-config.service (+1/-1) systemd/cloud-final.service (+1/-1) systemd/cloud-init-generator (+128/-0) systemd/cloud-init-local.service (+1/-1) systemd/cloud-init.service (+1/-1) systemd/cloud-init.target (+6/-0) |
| To merge this branch: | bzr merge lp:~smoser/cloud-init/trunk.disable-clouddinit |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Dimitri John Ledkov | 2016-03-01 | Pending | |
| cloud-init commiters | 2016-03-01 | Pending | |
|
Review via email:
|
|||
Commit Message
systemd: Add cloud-init generator and allow disabling of cloud-init
This adds a generator that enables cloud-init if it is not found to
be disabled. It can be disabled via either the kernel command line
(/proc/cmdline with cloud-init=
/etc/cloud/
Also each of the service files now Wants the cloud-init target, making
them more of a group.
| Scott Moser (smoser) wrote : | # |
| Ryan Harper (raharper) wrote : | # |
Do you expect this to run pre-systemd (precise or trusty)?
- 1173. By Scott Moser on 2016-03-03
-
consume KERNEL_CMDLINE even if set to "". explain 'container'
| Scott Moser (smoser) wrote : | # |
should still work.
The upstart jobs are still there.
- 1174. By Scott Moser on 2016-03-03
-
merge with trunk
- 1175. By Scott Moser on 2016-03-03
-
do not duplicate '-generator' in log ame
- 1176. By Scott Moser on 2016-03-03
-
generator: be more clear on where kernel cmdline came from
- 1177. By Scott Moser on 2016-03-03
-
cloud-init.target should not do anything
no wants or after or before.
- 1178. By Scott Moser on 2016-03-04
-
merge with trunk
- 1179. By Scott Moser on 2016-03-04
-
support nocheck in building.
- 1180. By Scott Moser on 2016-03-04
-
packages/bddeb: copy all files in packages/debian/
just copy all the files that are there. makes adding files easier.
- 1181. By Scott Moser on 2016-03-04
-
mention link path in generator
- 1182. By Scott Moser on 2016-03-04
-
postinst/preinst: cleanup old multi-user.target enabled files
also, actually enable the services.
now this will have them enabled in the cloud-init.target.


This still needs doc, and probably need to review the kernel command line with other parts of cloud-init consumption for consistency, but the general implementation seems to work.