diff options
Diffstat (limited to 'builder/dnbd3-qcow2-rootfs/hooks/mount/mount-root-device.sh')
-rwxr-xr-x | builder/dnbd3-qcow2-rootfs/hooks/mount/mount-root-device.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builder/dnbd3-qcow2-rootfs/hooks/mount/mount-root-device.sh b/builder/dnbd3-qcow2-rootfs/hooks/mount/mount-root-device.sh new file mode 100755 index 00000000..d02f9002 --- /dev/null +++ b/builder/dnbd3-qcow2-rootfs/hooks/mount/mount-root-device.sh @@ -0,0 +1,4 @@ +# this rudimentary script just mounts the rootfs device that was symlinked to +# /dev/root to dracut's $NEWROOT (usually /sysroot). + +mount /dev/root $NEWROOT |