mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
79a94b12ae
commit
5baa1b2730
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ))
|
||||
|
|
|
|||
Loading…
Reference in a new issue