mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
release(7): Enable zpoolupgrade rc script in ZFS based VM images
This will enable VM access to all ZFS feature automatically, only on a newly installed or provisioned VM or cloud instance. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37283
This commit is contained in:
parent
72a1cb05cd
commit
3bf53c4c8f
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ vm_install_base() {
|
|||
if [ "${VMFS}" = zfs ]; then
|
||||
echo "zfs_enable=\"YES\"" >> ${DESTDIR}/etc/rc.conf
|
||||
echo "zpool_reguid=\"zroot\"" >> ${DESTDIR}/etc/rc.conf
|
||||
echo "zpool_upgrade=\"zroot\"" >> ${DESTDIR}/etc/rc.conf
|
||||
fi
|
||||
|
||||
if ! [ -z "${QEMUSTATIC}" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue