hello all
i need to create VMs automatically, if needed. the most VMs will be Windows 2022 Servers.
does anybody has a script, executed in windows, to create VMs ?
cloud init is for windows server not possible !
thx all
yes, the microsoft image is not the issue. to create the VM is the challenge. i want a script which creates the VM (which needs to be created before the microsoft installer comes)
yes, the microsoft image is not the issue. to create the VM is the challenge. i want a script which creates the VM (which needs to be created before the microsoft installer comes)
Perhaps you can expand on what the challenge is? The entire VM creation can be done with a single "qm create" line with appropriate variables that you can specify as arguments if you want.
Good luck
P.S here is a header to get you started:
#!/bin/bash
set -euo pipefail