Browse code

Merge "xenapi: add username to vncviewer command"

Jenkins authored on 2013/09/05 03:06:27
Showing 1 changed files
... ...
@@ -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)