Fix booting on EC2
The kill command in ash doesn't know the "--" syntax, but doesn't need it either.
This commit is contained in:
parent
6bd32f0a27
commit
7613ae950a
@ -83,7 +83,7 @@ with pkgs.lib;
|
|||||||
# Force udev to exit to prevent random "Device or resource busy
|
# Force udev to exit to prevent random "Device or resource busy
|
||||||
# while trying to open /dev/xvda" errors from fsck.
|
# while trying to open /dev/xvda" errors from fsck.
|
||||||
udevadm control --exit || true
|
udevadm control --exit || true
|
||||||
kill -9 -- -1
|
kill -9 -1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Mount all formatted ephemeral disks and activate all swap devices.
|
# Mount all formatted ephemeral disks and activate all swap devices.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user