mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56: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]
|
||||
Description=Update Engine
|
||||
ConditionVirtualization=!container
|
||||
PartOf=update-engine.service
|
||||
Description=Update Engine Reboot Manager
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/update_engine_reboot_manager
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,6 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update Engine
|
||||
ConditionVirtualization=!container
|
||||
ConditionKernelCommandLine=!coreos.diskless
|
||||
ConditionKernelCommandLine=!coreos.statediskonly
|
||||
Wants=update-engine-reboot-manager.service
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
|
Loading…
Reference in New Issue
Block a user