summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/cmdline/mark-root-device.sh
blob: b72825214f19d54f565f27b31d856c0f6eaf7132 (plain) (blame)
1
2
3
4
5
6
7
8
9
# set rootok and root as dracut expects them to be set by
# the module preparing the root filesystem.
#
# Once the root filesystem is mounted per dnbd3 and
# exported as qcow2 per nbd, /dev/root will be a symlink
# to /dev/nbd0 as this is then our rootfs-device
rootok=1
root=block:/dev/root