Orange-Cyberdefense / GOAD

game of active directory
GNU General Public License v3.0
5.46k stars 758 forks source link

Libvirt / KVM support #237

Open alex27riva opened 6 months ago

alex27riva commented 6 months ago

Hi everyone, I wanted to know if Libvirt support can be added for this project. I have a Proxmox machine but I don't have enough resources to run an AD environment. I want to deploy this on my PC with Fedora Workstation 40, where I use libvirt / KVM for virtualization. KVM is more efficient than type 2 hypervisors like VirtualBox.

noraj commented 5 months ago

This shouldn't require much effort, since there is already a robust libvirt plugin for Vagrant:

https://github.com/vagrant-libvirt/vagrant-libvirt

alex27riva commented 5 months ago

This shouldn't require much effort, since there is already a robust libvirt plugin for Vagrant:

https://github.com/vagrant-libvirt/vagrant-libvirt

Yes, I tried implementing it but the StefanScherer/windows_2019 doesn't support the libvirt provider.

noraj commented 5 months ago

This shouldn't require much effort, since there is already a robust libvirt plugin for Vagrant:

Modifying goad.sh for that is easy. But creating a Vagrantfile and inventory files for libvirt provider for each lab takes a bit more time.

Yes, I tried implementing it but the StefanScherer/windows_2019 doesn't support the libvirt provider.

Maybe another image could be used for libvirt?

image

Mayfly277 commented 1 month ago

could be easy to do with goad v3 as i delete a lot of duplicate code and do a global template by provider. with vagrant support it should be pretty easy to do.