mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 12:11:08 +01:00
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:
parent
333b986685
commit
3e6090ebb5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278119
@ -21,7 +21,7 @@ vm_extra_install_base() {
|
|||||||
vm_extra_pre_umount() {
|
vm_extra_pre_umount() {
|
||||||
cat << EOF >> ${DESTDIR}/etc/rc.conf
|
cat << EOF >> ${DESTDIR}/etc/rc.conf
|
||||||
dumpdev="AUTO"
|
dumpdev="AUTO"
|
||||||
ifconfig_vtnet0="SYNCDHCP mtu 1460"
|
ifconfig_DEFAULT="SYNCDHCP mtu 1460"
|
||||||
ntpd_sync_on_start="YES"
|
ntpd_sync_on_start="YES"
|
||||||
case \$(uname -r) in
|
case \$(uname -r) in
|
||||||
*-BETA*|*-RC*|*-RELEASE*)
|
*-BETA*|*-RC*|*-RELEASE*)
|
||||||
|
Loading…
Reference in New Issue
Block a user