hyperv-vm-provisioning
hyperv-vm-provisioning copied to clipboard
Quick provisioning of Linux VM using Hyper-V on Windows
Addresses #12 adds support for Ubuntu 24.04 LTS
Ubuntu 24.04 LTS is out, can we please add support for that version?
I'm sorry that I'm doing this as an issue instead of a PR I'm just too lazy for a full PR but I still want to give this (hopefully) helpful...
# 1 Command: ``` .\New-HyperVCloudImageVM.ps1 -VMProcessorCount 2 -VMMemoryStartupBytes 2GB -VHDSizeBytes 60GB -VMName "ubuntu-1" -ImageVersion "20.04" -VMGeneration 2 -ShowSerialConsoleWindow ``` Output: ``` New-HyperVCloudImageVM.ps1: Cannot process argument transformation on parameter 'Encoding'. 'Byte'...
add Ubuntu 24.04 as a possible option. Tested the creation of a new working HyperV machine with the option.
fixed typo `interrfaces.d` => `interfaces.d`, nothing else :-)
addresses #16
.\New-HyperVCloudImageVM.ps1 -VMProcessorCount 2 -VMMemoryStartupBytes 4GB -VHDSizeBytes 20GB -VMName $VMName -ImageVersion "22.04" -VirtualSwitchName $SwitchName -VMGeneration 2 -NetAddress $VMNetAddress -NetGateway $NATGatewayIP -NameServers $VMNameServers -ShowSerialConsoleWindow -ShowVmConnectWindow -GuestAdminUsername "admin" -GuestAdminPassword "admin" -GuestAdminSshPubKey "$key" -Verbose...