🌐
Videos Blog About Series πŸ—ΊοΈ
❓
πŸ”‘

Using libvirt with terraform on ubuntu πŸ”—
1723038220  

🏷️ blog 🏷️ terraform 🏷️ ubuntu 🏷️ libvirt

In short, do what is suggested here.

For the long version, this is a problem because terraform absolutely insists on total hamfisted control of its resources, including libvirt pools. This means that it must create a new one which is necessarily outside of the realm of it's apparmor rules. As such you have to turn that stuff off in the libvirt config file.

Important stuff now that I'm using it to deploy resources.

Other useful things to remember

  • hold escape after reboot to get a boot menu to go single-user when using virtual console via virt-manager, etc.
  • virsh net dhcp leases default - get the 'local' IPs of the VMs so spawned
  • Cloud-init logs live in /var/log/cloud-init*.log
Longer term I should build a configuration script for the HV to properly setup SELinux contexts, but hey.
25 most recent posts older than 1723038220
Size:
Jump to:
POTZREBIE
© 2020-2023 Troglodyne LLC