Commit f4789639 authored by Scott Moser's avatar Scott Moser

systemd: use network-online instead of network.target (LP: #1440180)

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
parent 8165000c
......@@ -30,6 +30,8 @@
- SmartOS: use v2 metadata service (LP: #1436417) [Daniel Watkins]
- NoCloud: fix local datasource claiming found without explicit dsmode
- Snappy: add support for installing snappy packages and configuring.
- systemd: use network-online instead of network.target (LP: #1440180)
[Steve Langasek]
0.7.6:
- open 0.7.6
- Enable vendordata on CloudSigma datasource (LP: #1303986)
......
[Unit]
Description=Apply the settings specified in cloud-config
After=network.target cloud-config.target syslog.target
Wants=network.target cloud-config.target
After=network-online.target cloud-config.target syslog.target
Wants=network-online.target cloud-config.target
[Service]
Type=oneshot
......
[Unit]
Description=Execute cloud user/final scripts
After=network.target cloud-config.service syslog.target rc-local.service
Wants=network.target cloud-config.service
After=network-online.target cloud-config.service syslog.target rc-local.service
Wants=network-online.target cloud-config.service
[Service]
Type=oneshot
......
[Unit]
Description=Initial cloud-init job (metadata service crawler)
After=local-fs.target network.target cloud-init-local.service
After=local-fs.target network-online.target cloud-init-local.service
Before=sshd.service sshd-keygen.service systemd-user-sessions.service
Requires=network.target
Requires=network-online.target
Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service
[Service]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment