diff options
| author | Jonathan Bauer | 2015-05-06 18:13:52 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2015-05-06 18:13:52 +0200 |
| commit | b3312f86061a0d887233f5068cbc335aa2612bed (patch) | |
| tree | 32a0bace5eb6a7afeb29dae80d7f01fefecb36cc /testModule/hooks/cmdline/mark-root-device.sh | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/systemd-init (diff) | |
| download | systemd-init-b3312f86061a0d887233f5068cbc335aa2612bed.tar.gz systemd-init-b3312f86061a0d887233f5068cbc335aa2612bed.tar.xz systemd-init-b3312f86061a0d887233f5068cbc335aa2612bed.zip | |
current state: udev disk detection still not done!
also improved module structure and code commentary
Diffstat (limited to 'testModule/hooks/cmdline/mark-root-device.sh')
| -rwxr-xr-x | testModule/hooks/cmdline/mark-root-device.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testModule/hooks/cmdline/mark-root-device.sh b/testModule/hooks/cmdline/mark-root-device.sh new file mode 100755 index 00000000..b7282521 --- /dev/null +++ b/testModule/hooks/cmdline/mark-root-device.sh @@ -0,0 +1,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 + |
