Put our fstab in place.

ubuntu/yakkety
Daniel Watkins 10 years ago
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…
Cancel
Save