mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-04 16:01:24 +00:00
Put our fstab in place.
This commit is contained in:
parent
bdc58d490c
commit
9daf532fd4
@ -91,6 +91,9 @@ if [ -n "${root_fs_label}" ]; then
|
||||
lstr="LABEL=${root_fs_label}"
|
||||
sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
|
||||
fi
|
||||
cat > /etc/fstab << EOM
|
||||
LABEL=cloudimg-rootfs / ext4 defaults 0 0
|
||||
EOM
|
||||
|
||||
## Make sure that the update-motd.d directory exists
|
||||
[ ! -e "${rootd}/etc/update-motd.d" ] &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user