Remove comments left in accidentally while testing, so the

VM /etc/fstab is actually created.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-09-28 21:15:30 +00:00
parent 79a94b12ae
commit 5baa1b2730
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=272272

View File

@ -71,11 +71,11 @@ vm_create_baseimage() {
panic 1 "\n\nCannot install the base system to ${DESTDIR}."
chroot ${DESTDIR} /usr/bin/newaliases
echo '# Custom /etc/fstab for FreeBSD VM images' \
# > ${DESTDIR}/etc/fstab
> ${DESTDIR}/etc/fstab
echo '/dev/gpt/rootfs / ufs rw 2 2' \
# >> ${DESTDIR}/etc/fstab
>> ${DESTDIR}/etc/fstab
echo '/dev/gpt/swapfs none swap sw 0 0' \
# >> ${DESTDIR}/etc/fstab
>> ${DESTDIR}/etc/fstab
sync
while ! umount ${DESTDIR}; do
i=$(( $i + 1 ))