Closed samstagern closed 1 month ago
.\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
VHD is set to 20GB and it provisions 2GB.
This is fixed in MR https://github.com/schtritoff/hyperv-vm-provisioning/pull/14/commits
.\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
VHD is set to 20GB and it provisions 2GB.
This is fixed in MR https://github.com/schtritoff/hyperv-vm-provisioning/pull/14/commits