Use other example on https://github.com/tothi/ad-honeypot-autodeploy to convert it qemu image for terraform
Help tools to :
- install Hashicorp products with qemu/kvm Libvirt
- build https://github.com/rgl/windows-vagrant and https://github.com/rgl/ubuntu-vagrant Vagrant boxes for Libvirt
- launch the Windows AD/client lab with Vagrant/Libvirt https://github.com/rgl/windows-domain-controller-vagrant
bash -x setup-hashicorp-host.sh
reboot
#ssh-keygen -b 4096 -t rsa -f /tmp/sshkey -q -N ""
curl https://raw.githubusercontent.com/vagrant-libvirt/vagrant-libvirt-qa/main/scripts/install.bash -o install-vagrant.bash
bash -x install-vagrant.bash
vagrant plugin install vagrant-windows-update
vagrant plugin install vagrant-reload
vagrant plugin install vagrant-windows-sysprep
bash -x build-windows-2022-libvirt.sh
bash -x build-ubuntu-amd64-libvirt.sh
windows-domain-controller-vagrant
su - vagrant
bash -x winpoc.sh