mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-30 03:34:29 +01:00
Merge pull request #423 from crobinso/initrd-nonroot
initrd-builder: Don't error if run as non-root
This commit is contained in:
@@ -70,8 +70,6 @@ OK "init is installed"
|
||||
use AGENT_BIN env variable to change the expected agent binary name"
|
||||
OK "Agent is installed"
|
||||
|
||||
[ "$(id -u)" -eq 0 ] || die "$0: must be run as root"
|
||||
|
||||
# initramfs expects /init
|
||||
ln -sf /sbin/init "${ROOTFS}/init"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user