Use ifconfig_DEFAULT="" instead of hard-coding vtnet(4)

MFC after:	2 weeks
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836, r278118
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-02-03 00:10:48 +00:00
parent 333b986685
commit 3e6090ebb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278119

View File

@ -21,7 +21,7 @@ vm_extra_install_base() {
vm_extra_pre_umount() {
cat << EOF >> ${DESTDIR}/etc/rc.conf
dumpdev="AUTO"
ifconfig_vtnet0="SYNCDHCP mtu 1460"
ifconfig_DEFAULT="SYNCDHCP mtu 1460"
ntpd_sync_on_start="YES"
case \$(uname -r) in
*-BETA*|*-RC*|*-RELEASE*)