Skip to content

Commit b1b9d6f

Browse files
committed
Param DNS & VlanID
- EnvironmentDNS to DNSForwarder - PublicVlan to PublicVlanId
1 parent 3187b27 commit b1b9d6f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Deployment/asdk-installer.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,12 +1666,12 @@ If ($synchash.Control_NetConfig_Rbt_Static.IsChecked){
16661666
}
16671667

16681668
If ($synchash.Control_NetConfig_Tbx_VlanID.Text.Length -gt 0){
1669-
$InstallScript += " -PublicVLan "
1669+
$InstallScript += " -PublicVlanId "
16701670
$InstallScript += $synchash.Control_NetConfig_Tbx_VlanID.Text
16711671
}
16721672

16731673
If ($synchash.Control_NetConfig_Tbx_DnsForwarder.Text.Length -gt 0){
1674-
$InstallScript += " -EnvironmentDNS "
1674+
$InstallScript += " -DNSForwarder "
16751675
$InstallScript += $synchash.Control_NetConfig_Tbx_DnsForwarder.Text
16761676
}
16771677

@@ -1743,11 +1743,11 @@ Function F_Install {
17431743
}
17441744

17451745
If ($synchash.Control_NetConfig_Tbx_VlanID.Text.Length -gt 0){
1746-
' -PublicVLan "' + $synchash.Control_NetConfig_Tbx_VlanID.Text + '"' | Add-Content $filepath -NoNewline
1746+
' -PublicVlanId "' + $synchash.Control_NetConfig_Tbx_VlanID.Text + '"' | Add-Content $filepath -NoNewline
17471747
}
17481748

17491749
If ($synchash.Control_NetConfig_Tbx_DnsForwarder.Text.Length -gt 0){
1750-
' -EnvironmentDNS "' + $synchash.Control_NetConfig_Tbx_DnsForwarder.Text + '"' | Add-Content $filepath -NoNewline
1750+
' -DNSForwarder "' + $synchash.Control_NetConfig_Tbx_DnsForwarder.Text + '"' | Add-Content $filepath -NoNewline
17511751
}
17521752

17531753
If ($synchash.Control_NetConfig_Tbx_TimeServer.Text.Length -gt 0){

0 commit comments

Comments
 (0)