/libvirt-terraform

Using terraform to interface with libvirt

Primary LanguageHCL

Libvirt Terraform

Because you can't be using VirtualBox on Linux in 2024.

  • Read through the cloud-init.yaml
  • The default username and sudo password is 'sahil'.
  • You can generate the hashed password using the following command -
     echo -n 'password' | openssl passwd -6 -stdin
    Replace 'password' with your desired password.
  • The output will give an error after terraform apply, possibly because the VM isn't completely setup yet, however running terraform output again should print the IP address of the VM.

Resources -