diff --git a/Openstack/pv176.yaml b/Openstack/pv176.yaml index b2eec8dee718e4f2ff186f453b821bc6a8d1ef6a..bb5e97cb31a7031425f8881350242d1a6436e3c3 100644 --- a/Openstack/pv176.yaml +++ b/Openstack/pv176.yaml @@ -83,11 +83,11 @@ resources: $user.SetPassword('safe_mode_administrator_password') NET USER pv176 safe_mode_administrator_password /add NET LOCALGROUP Administrators pv176 /add - $IP = "10.0.0.2" + $IP = '10.0.0.2' $MaskBits = 8 - $Gateway = "10.0.0.1" - $Dns = "147.251.4.33" - $IPType = "IPv4" + $Gateway = '10.0.0.1' + $DNS = '147.251.4.33' + $IPType = 'IPv4' $adapter = Get-NetAdapter | ? {$_.Status -eq "up"} $adapter | New-NetIPAddress -AddressFamily $IPType -IPAddress $IP -PrefixLength $MaskBits -DefaultGateway $Gateway $adapter | Set-DnsClientServerAddress -ServerAddresses $DNS