You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm looking for information on the default password for the virtual machine created using the script below. I'm using DHCP, so I don't know the IP address until I log in to the VM.
`
Create a VM with static IP configuration and ssh public key access
Hello, I'm looking for information on the default password for the virtual machine created using the script below. I'm using DHCP, so I don't know the IP address until I log in to the VM.
`
Create a VM with static IP configuration and ssh public key access
$imgFile = .\Get-UbuntuImage.ps1 -Verbose
$vmName = 'TstUbuntu'
$fqdn = 'test.example.com'
$rootPublicKey = Get-Content "$env:USERPROFILE.ssh\id_rsa.pub"
.\New-VMFromUbuntuImage.ps1 -SourcePath $imgFile -VMName $vmName -FQDN $fqdn -RootPublicKey $rootPublicKey -VHDXSizeBytes 60GB -MemoryStartupBytes 2GB -ProcessorCount 2 -IPAddress 10.10.1.196/16 -Gateway 10.10.1.250 -DnsAddresses '8.8.8.8','8.8.4.4' -Verbose
Your public key is installed. This should not ask you for a password.
ssh [email protected]
`
The text was updated successfully, but these errors were encountered: