Fix: SRV-03 VM creation script networks
This commit is contained in:
parent
5450d89565
commit
4d9d4fc21c
|
@ -50,14 +50,14 @@ Copy-item d:\Scripts\Guests\SRV-03.ps1 E:\Tools\scripts\boot.ps1
|
|||
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO\"
|
||||
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO\"
|
||||
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Program Files\BGINFO\"
|
||||
Dismount-VHD d:\VHD\SRV-01.vhdx
|
||||
Dismount-VHD d:\VHD\SRV-03.vhdx
|
||||
|
||||
$vms = @{
|
||||
|
||||
Name = "SRV-03"
|
||||
Generation = '2'
|
||||
MemoryStartupBytes = 1024Mb
|
||||
VHDPath = "d:\VHD\SRV-01.vhdx"
|
||||
VHDPath = "d:\VHD\SRV-03.vhdx"
|
||||
SwitchName = "Arc-SRV"
|
||||
}
|
||||
|
||||
|
@ -66,8 +66,8 @@ Set-VMMemory SRV-03 -DynamicMemoryEnabled $true -MinimumBytes 512MB -StartupByte
|
|||
Set-VM -Name SRV-03 -ProcessorCount 2
|
||||
|
||||
echo "Configuring adapters"
|
||||
Rename-VMNetworkAdapter -VMName 'SRV-03' -NewName 'Arc-SRV'
|
||||
Set-VMNetworkAdapter -VMName 'SRV-03' -Name "Arc-SRV" -DeviceNaming on
|
||||
Rename-VMNetworkAdapter -VMName 'SRV-03' -NewName 'Bou-LAN'
|
||||
Set-VMNetworkAdapter -VMName 'SRV-03' -Name "Bou-LAN" -DeviceNaming on
|
||||
|
||||
### Adding and configuring RTR-01
|
||||
|
||||
|
|
Loading…
Reference in New Issue