mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-28 03:01:32 +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}"
|
lstr="LABEL=${root_fs_label}"
|
||||||
sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
|
sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
|
||||||
fi
|
fi
|
||||||
|
cat > /etc/fstab << EOM
|
||||||
|
LABEL=cloudimg-rootfs / ext4 defaults 0 0
|
||||||
|
EOM
|
||||||
|
|
||||||
## Make sure that the update-motd.d directory exists
|
## Make sure that the update-motd.d directory exists
|
||||||
[ ! -e "${rootd}/etc/update-motd.d" ] &&
|
[ ! -e "${rootd}/etc/update-motd.d" ] &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user