fix: arc-srv conf on srv-01

This commit is contained in:
Winston Smith 2021-05-10 11:35:41 +02:00
parent 44cf01520a
commit bff21cfaba
2 changed files with 5 additions and 6 deletions

View File

@ -34,8 +34,7 @@ Sleep 10
#Arc-SRV
netsh interface ip set address name="Arc-SRV" static 192.168.8.1 255.255.255.0`
192.168.8.255
netsh interface ip set address name="Arc-SRV" static 192.168.8.1 255.255.255.0 192.168.8.255
### DNS Conf for all InterfaceAlias ###

View File

@ -8,7 +8,7 @@ echo "GPLv3"
### Adding SRV-01
echo "Adding and configuring SRV-01"
cp D:\VHD\Base_dif\Base_server_g2.vhdx D:\VHD\SRV-01.vhdx
cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\SRV-01.vhdx
Mount-VHD d:\VHD\SRV-01.vhdx
Copy-Item d:\Unattend\SRV-01.xml -Destination e:\Windows\Panther\Unattend.xml
@ -37,7 +37,7 @@ Set-VMNetworkAdapter -VMName 'SRV-01' -Name "Arc-SRV" -DeviceNaming on
### Adding and configuring RTR-01
echo "Adding and configuring RTR-01"
cp D:\VHD\Base_dif\Base_server_g2.vhdx D:\VHD\RTR-01.vhdx
cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-01.vhdx
Mount-VHD d:\VHD\RTR-01.vhdx
Copy-Item d:\Unattend\RTR-01.xml -Destination e:\Windows\Panther\Unattend.xml
@ -69,7 +69,7 @@ Add-VMNetworkAdapter -VMName "RTR-01" -SwitchName "WAN" -Name "WAN" -DeviceNamin
# RTR-02
echo "Adding and configuring RTR-02"
cp D:\VHD\Base_dif\Base_server_g2.vhdx D:\VHD\RTR-02.vhdx
cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-02.vhdx
Mount-VHD d:\VHD\RTR-02.vhdx
Copy-Item d:\Unattend\RTR-02.xml -Destination e:\Windows\Panther\Unattend.xml
@ -101,7 +101,7 @@ Add-VMNetworkAdapter -VMName "RTR-02" -SwitchName "WAN" -Name "WAN" -DeviceNamin
# RTR-03
echo "Adding and configuring RTR-03"
cp D:\VHD\Base_dif\Base_server_g2.vhdx D:\VHD\RTR-03.vhdx
cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-03.vhdx
Mount-VHD d:\VHD\RTR-03.vhdx
Copy-Item d:\Unattend\RTR-03.xml -Destination e:\Windows\Panther\Unattend.xml