Enable DHCP and IPv6 autoconfig on non-cloud VM images.
PR: 203653 MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
ced98d784b
commit
f8e26d73e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318872
@ -157,6 +157,11 @@ vm_extra_enable_services() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "${VMCONFIG}" -o -c "${VMCONFIG}" ]; then
|
||||||
|
echo 'ifconfig_DEFAULT="DHCP inet6 accept_rtadv"' >> \
|
||||||
|
${DESTDIR}/etc/rc.conf
|
||||||
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user