mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
move coreos-cloudinit into config/cloudinit
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
14
config/cloudinit/units/user-cloudinit-proc-cmdline.service
Normal file
14
config/cloudinit/units/user-cloudinit-proc-cmdline.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Load cloud-config from url defined in /proc/cmdline
|
||||
Requires=coreos-setup-environment.service
|
||||
After=coreos-setup-environment.service
|
||||
After=system-config.target
|
||||
Before=user-config.target
|
||||
ConditionKernelCommandLine=cloud-config-url
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutSec=10min
|
||||
RemainAfterExit=yes
|
||||
EnvironmentFile=-/etc/environment
|
||||
ExecStart=/usr/bin/coreos-cloudinit --from-proc-cmdline
|
Reference in New Issue
Block a user