Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

terraform-provider-libvirt

...

https://software.opensuse.org/package/terraform-provider-libvirt?search_term=terraform-provider-libvirt





sudo apt install qemu-kvm libvirt-bin
sudo apt install -y libvirt-dev

Code Block
titlecheck libvirt release
collapsetrue
jlk@ubuntu:~$ virsh version
Compiled against library: libvirt 4.0.0
Using library: libvirt 4.0.0
Using API: QEMU 4.0.0
Running hypervisor: QEMU 2.11.1



sudo apt-get install golang-go


https://github.com/golang/go/wiki/SettingGOPATH

echo $0   ( to confirm is bash)

export GOPATH=$HOME/go
source ~/.bash_profile

go get github.com/dmacvicar/terraform-provider-libvirt
cd $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt
go install


mkdir ~/.terraform.d/plugins

cp ~/go/bin/terraform-provider-libvirt ~/.terraform.d/plugins/