summaryrefslogtreecommitdiff
path: root/systemd
AgeCommit message (Collapse)Author
2016-04-04systemd: do not specify After of obsolete syslog.target (LP: #1536964)Scott Moser
syslog.target is obsolete in debian, this fixes a lintian warning. LP: #1536964
2016-03-21cloud-init-local needs to want network-pre or it isnt guaranteed to startScott Moser
2016-03-20fix creation of network-config-ready and dont bother waiting on loScott Moser
2016-03-18cloud-init-local.service: touch file that cloud-init-wait will wait forScott Moser
this might work. And if it does means we could generally test this as the file that the cloud-init-wait will wait for will actually get created.
2016-03-18commit the systemd waiting mechanismScott Moser
Note, still broken as cloud-init local is not going to ever touch the CI_NET_READY file (/run/cloud-init/network-config-ready). So as this is , it will actually just block for 60 seconds and go on.
2016-03-14minor cleanup. long line and remove unused 'local'Scott Moser
2016-03-10generator: use /run/cloud-init instead of /runScott Moser
2016-03-10generator: support reading cmdline of pid 1 in a containerScott Moser
This might need cleaning up in the future as I believe in some containers /proc/cmdline is provided, and in that case it would be preferred to pid 1's command line.
2016-03-10initial systemd service suggestions provided by pittiScott Moser
This should mean that cloud-init-local is running earlier now (DefaultDependencies=no). And also blocking networking coming up (Before=network-pre.target) cloud-init.service should now actually block network-online.target from being made (meaning it will run before anything that expects that) but after networking.service, which is what actually does the bringup on ifupdown / ubuntu.
2016-03-03mention link path in generatorScott Moser
2016-03-03cloud-init.target should not do anythingScott Moser
no wants or after or before.
2016-03-03generator: be more clear on where kernel cmdline came fromScott Moser
2016-03-03do not duplicate '-generator' in log ameScott Moser
2016-03-03consume KERNEL_CMDLINE even if set to "". explain 'container'Scott Moser
2016-03-012 fixupsScott Moser
2016-02-29remove unused varScott Moser
2016-02-29be less verbose by defaultScott Moser
2016-02-29systemd/cloud-init-generator: add a generator to support disablingScott Moser
This gets installed in /lib/systemd/system/cloud-init.target and then is called to generate the symlink (or not generate the symlink) for the cloud-init target. The end result is cloud-init can be completely disabled by: touch /etc/cloud/cloud-init.disabled or a kernel command line with 'cloud-init=disabled'
2016-02-29add cloud-init.target, update service files accordinglyScott Moser
This adds cloud-init.target which is a single target to encompass all the services of cloud-init.
2015-11-30systemd/power_state: fix power_state when cloud-final exited failureScott Moser
if a runcmd exited failure, then power_state would not work. This was because systemd was killing off subprocesses, and cloud-init implemented power off with a subprocess that waited for the parent to exit. LP: #1449318
2015-04-09systemd: use network-online instead of network.target (LP: #1440180)Scott Moser
don't declare a Wants/Requires on network.target; this is a passive target that should only be pulled in by implementors of the networking service. The requirement for network needs to be expressed as a dependency on network-online.target. LP: #1440180
2015-03-17systemd: update config and final to run even if init jobs failScott Moser
LP: #1432758
2015-01-16Use systemd-user-sessions.service for sequencing, not getty.target, for ↵Steve Langasek
correct race-free ordering
2015-01-15Ensure that when running under systemd, cloud-init.service is run before weSteve Langasek
display any getty on the console so that the cloud-init output doesn't get written on top of a login prompt.
2014-07-15run before sshd-keygen.serviceJordan Evans
2014-06-24Add wants for sshd to make sure there isn't a race conditionJordan Evans
2013-09-20Some containers lack /dev/console, so when multi_log attempts to openGarrett Holmstrom
that device and write to it directly things can start going haywire. Here we address this problem by sending console-bound output to stdout and letting init take care of getting it to the console instead. We already configure upstart with "console output", so we need only change systemd to use "journal+console".
2012-08-03systemd: disable timeouts so cloud-config jobs have time to finishGarrett Holmstrom
2012-08-03systemd: update program calling formatsGarrett Holmstrom
2012-08-03systemd: write stdout to tty so it shows up in GetConsoleOutputGarrett Holmstrom
2011-10-30Add sample/example systemd config filesScott Moser
This imports the systemd config files that Garrett Holmstrom added to fedora. Its not essential that thay be here, rather than just maintained as distribution delta, but there exists upstart files here. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch2: cloud-init-0.6.2-systemd.patch