Devstack prints out an instruction, how to look at the virtual machine's
console. The command did not include the username, so if the user had a
config file to use a different username for that network, the command
failed.
Change-Id: I5dd49169c45e26e8d2bb3d5920a1b7fa584be50f
... | ... |
@@ -181,7 +181,7 @@ function wait_for_VM_to_halt() { |
181 | 181 |
mgmt_ip=$(echo $XENAPI_CONNECTION_URL | tr -d -c '1234567890.') |
182 | 182 |
domid=$(xe vm-list name-label="$GUEST_NAME" params=dom-id minimal=true) |
183 | 183 |
port=$(xenstore-read /local/domain/$domid/console/vnc-port) |
184 |
- echo "vncviewer -via $mgmt_ip localhost:${port:2}" |
|
184 |
+ echo "vncviewer -via root@$mgmt_ip localhost:${port:2}" |
|
185 | 185 |
while true |
186 | 186 |
do |
187 | 187 |
state=$(xe_min vm-list name-label="$GUEST_NAME" power-state=halted) |