I run the following command to get the IP address of a VM when it boots:
Code:
prlctl list <vm> --all --no-header -o ip
This code returns with the ipv6 addresses very quickly, but then takes some time to start displaying the ipv4 address. When I go into the VM console I can see the VM got a DHCP ipv4 address almost immediately. Unfortunately I need the IP address outside of the VM in order to automate an ssh login to the VM so this results in a long delay in my workflow.
Is there any work-around for this?