diff --git a/release/tools/openstack.conf b/release/tools/openstack.conf index a88e0f8e37de..3eb7b1d31991 100644 --- a/release/tools/openstack.conf +++ b/release/tools/openstack.conf @@ -13,6 +13,10 @@ vm_extra_pre_umount() { echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf + # Openstack wants sudo(8) usable by default without a password. + echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> \ + ${DESTDIR}/usr/local/etc/sudoers.d/cloud-init + rm -f ${DESTDIR}/etc/resolv.conf return 0