azure-xplat-cli
azure-xplat-cli copied to clipboard
VMSS quick-create windows uses wrong port for NAT Rules
CLI Version: 0.10.8 (node: 4.2.6) OS Type: Ubuntu Installation via: npm Mode: ARM Environment: AzureCloud
Description:
azure vm quick-create
command makes NAT rules allowing incoming requests on port 22 for SSH regardless of whether the VM image is Windows or Linux. Instead, it should create NAT rules for port 22 only if the vm image is Linux; if the VM image is Windows, it should instead create NAT rules for port 3389 for RDP access.
Steps to reproduce:
- azure vmss quick-create -n myWin -g myWinrg -l westus -u ops -p P@44word! -C 2 -Q MicrosoftWindowsServer:WindowsServer:2016-Datacenter:latest
- See the target port on the NAT rules configured: they will be 22 when they should be 3389, since they are Windows machines
@huangpf - Can you take a look at this issue?