Put our fstab in place.

This commit is contained in:
Daniel Watkins 2015-04-08 09:34:15 +01:00
parent bdc58d490c
commit 9daf532fd4

View File

@ -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" ] &&