mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 11:21:09 +01:00
In vm_extra_install_base(), do not install waagent
in the openstack image, because it is not used. This appears to be a copy mistake. Remove vm_extra_install_base() from the openstack.conf entirely, since it does not need to be overridden. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8f0ea33f2b
commit
ee1108eba8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=277180
@ -9,15 +9,6 @@ export VM_EXTRA_PACKAGES="net/cloud-init"
|
|||||||
# Set to a list of third-party software to enable in rc.conf(5).
|
# Set to a list of third-party software to enable in rc.conf(5).
|
||||||
export VM_RC_LIST="cloudinit"
|
export VM_RC_LIST="cloudinit"
|
||||||
|
|
||||||
vm_extra_install_base() {
|
|
||||||
fetch -o ${DESTDIR}/usr/sbin/waagent \
|
|
||||||
http://people.freebsd.org/~gjb/waagent
|
|
||||||
chmod +x ${DESTDIR}/usr/sbin/waagent
|
|
||||||
rm -f ${DESTDIR}/etc/resolv.conf
|
|
||||||
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
vm_extra_pre_umount() {
|
vm_extra_pre_umount() {
|
||||||
echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
||||||
echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
|
echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user