systemd: update config and final to run even if init jobs fail
This commit is contained in:
parent
b9b862c2ce
commit
37562336d9
@ -1,8 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Apply the settings specified in cloud-config
|
Description=Apply the settings specified in cloud-config
|
||||||
After=network.target syslog.target cloud-config.target
|
After=network.target cloud-config.target syslog.target
|
||||||
Requires=cloud-config.target
|
Wants=network.target cloud-config.target
|
||||||
Wants=network.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -7,4 +7,5 @@
|
|||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Cloud-config availability
|
Description=Cloud-config availability
|
||||||
Requires=cloud-init-local.service cloud-init.service
|
Wants=cloud-init-local.service cloud-init.service
|
||||||
|
After=cloud-init-local.service cloud-init.service
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Execute cloud user/final scripts
|
Description=Execute cloud user/final scripts
|
||||||
After=network.target syslog.target cloud-config.service rc-local.service
|
After=network.target cloud-config.service syslog.target rc-local.service
|
||||||
Requires=cloud-config.target
|
Wants=network.target cloud-config.service
|
||||||
Wants=network.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user