mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
Merge pull request #202 from philips/improved-diskless
fix(update-engine): respect the diskless parameters
This commit is contained in:
commit
29262185b7
@ -1,10 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Update Engine
|
PartOf=update-engine.service
|
||||||
ConditionVirtualization=!container
|
Description=Update Engine Reboot Manager
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/update_engine_reboot_manager
|
ExecStart=/usr/sbin/update_engine_reboot_manager
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Update Engine
|
Description=Update Engine
|
||||||
ConditionVirtualization=!container
|
ConditionVirtualization=!container
|
||||||
|
ConditionKernelCommandLine=!coreos.diskless
|
||||||
|
ConditionKernelCommandLine=!coreos.statediskonly
|
||||||
|
Wants=update-engine-reboot-manager.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
|
Loading…
Reference in New Issue
Block a user