Fix path to waagent.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fb17b4c55c
commit
99b858f537
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284617
@ -14,8 +14,8 @@ export VM_EXTRA_PACKAGES="sysutils/azure-agent"
|
|||||||
export VM_RC_LIST=
|
export VM_RC_LIST=
|
||||||
|
|
||||||
vm_extra_pre_umount() {
|
vm_extra_pre_umount() {
|
||||||
chroot ${DESTDIR} /usr/sbin/waagent -verbose -install
|
chroot ${DESTDIR} /usr/local/sbin/waagent -verbose -install
|
||||||
yes | chroot ${DESTDIR} /usr/sbin/waagent -deprovision
|
yes | chroot ${DESTDIR} /usr/local/sbin/waagent -deprovision
|
||||||
echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
||||||
echo 'ifconfig_hn0="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
|
echo 'ifconfig_hn0="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
|
||||||
echo 'waagent_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
echo 'waagent_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user