https://github.com/goffinet/windows-poc
https://github.com/goffinet/windows-poc
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/goffinet/windows-poc
- Owner: goffinet
- Created: 2022-11-26T14:52:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T12:38:38.000Z (over 3 years ago)
- Last Synced: 2025-01-13T10:22:02.663Z (over 1 year ago)
- Language: PowerShell
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows POC
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
## Setup your host
```bash
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
```
## Build Windows 2022 and Ubuntu 20.04 images
```bash
bash -x build-windows-2022-libvirt.sh
bash -x build-ubuntu-amd64-libvirt.sh
```
## Launch the fixed windows-domain-controller-vagrant
[windows-domain-controller-vagrant](https://github.com/rgl/windows-domain-controller-vagrant)
```bash
su - vagrant
bash -x winpoc.sh
```
## Credits
- https://github.com/rgl/windows-vagrant
- https://github.com/rgl/ubuntu-vagrant
- https://github.com/rgl/xfce-desktop-vagrant
- https://github.com/dmacvicar/terraform-provider-libvirt
- https://github.com/rgl/windows-domain-controller-vagrant