From f37543c9e6e89d9b3d953f1037cb0e9265f47367 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Mon, 10 May 2021 14:52:26 +0200 Subject: [PATCH] fix: generation change on clients --- Host/Clients.ps1 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Host/Clients.ps1 b/Host/Clients.ps1 index 81cd9cc..81ed615 100644 --- a/Host/Clients.ps1 +++ b/Host/Clients.ps1 @@ -12,14 +12,14 @@ cp D:\VHD\Base\Base_Client_dif.vhdx D:\VHD\CLI-01.vhdx Mount-VHD d:\VHD\CLI-01.vhdx Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml -mkdir e:\Tools\Scripts +#mkdir e:\Tools\Scripts #Copy-item d:\Scripts\Guests\CLI-01.ps1 E:\Tools\scripts Dismount-VHD d:\VHD\CLI-01.vhdx $vms = @{ Name = "CLI-01" - Generation = '2' + Generation = '1' MemoryStartupBytes = 1024Mb VHDPath = "d:\VHD\CLI-01.vhdx" SwitchName = "Arc-CLI" @@ -41,14 +41,14 @@ cp D:\VHD\Base\Base_Client_dif.vhdx D:\VHD\CLI-03.vhdx Mount-VHD d:\VHD\CLI-03.vhdx #Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml -mkdir e:\Tools\Scripts +#mkdir e:\Tools\Scripts #Copy-item d:\Scripts\Guests\CLI-03.ps1 E:\Tools\scripts Dismount-VHD d:\VHD\CLI-03.vhdx $vms = @{ Name = "CLI-03" - Generation = '2' + Generation = '1' MemoryStartupBytes = 1024Mb VHDPath = "d:\VHD\CLI-03.vhdx" SwitchName = "Bou-LAN" @@ -65,5 +65,4 @@ Set-VMNetworkAdapter -VMName 'CLI-03' -Name "Bou-LAN" -DeviceNaming on ### Starting VMS echo "Starting VMs" -Start-VM -Name RTR* -Start-VM -Name SRV* +Start-VM -Name CLI*