From e4e862b7d1120a09d194fd10c248c977d414f1db Mon Sep 17 00:00:00 2001 From: Sreejith Punnapuzha Date: Wed, 13 Nov 2019 16:51:01 -0600 Subject: [PATCH] Enable VNC Console for vms This PS enables vnc console for vms created by aiab scripts. Change-Id: I7e882b80986a7a0868b793ab9783098cfc09092a Signed-off-by: Sreejith Punnapuzha --- tools/multi_nodes_gate/airship_gate/lib/virsh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/multi_nodes_gate/airship_gate/lib/virsh.sh b/tools/multi_nodes_gate/airship_gate/lib/virsh.sh index 2f2d5610..c48043bc 100644 --- a/tools/multi_nodes_gate/airship_gate/lib/virsh.sh +++ b/tools/multi_nodes_gate/airship_gate/lib/virsh.sh @@ -501,7 +501,7 @@ vm_create() { --virt-type kvm \ --cpu "${VIRSH_CPU_OPTS}" \ --serial "file,path=${TEMP_DIR}/console/${NAME}.log" \ - --graphics none \ + --graphics vnc,listen=0.0.0.0 \ --noautoconsole \ $NETWORK_OPTS \ --vcpus "$(config_vm_vcpus "${NAME}")" \ @@ -522,7 +522,7 @@ vm_create() { --os-variant ubuntu16.04 \ --virt-type kvm \ --cpu "${VIRSH_CPU_OPTS}" \ - --graphics none \ + --graphics vnc,listen=0.0.0.0 \ --serial file,path="${TEMP_DIR}/console/${NAME}.log" \ --noautoconsole \ $NETWORK_OPTS \