diff options
author | Tim Rozet <trozet@redhat.com> | 2016-04-19 15:06:43 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-04-19 15:06:43 -0400 |
commit | 66f24c075ee0202ce0a70dfba9276d161b2d3ad8 (patch) | |
tree | 44562888c3fc5e9bf5c8aeb6b315ff0068f66bee /jjb/functest | |
parent | 047708d62a425567a1bc7e86eaca2a8e88ebd703 (diff) |
Apex, Functest: fixes missing sudo when searching for VM
Change-Id: I5a8a9ffcbeb078775efb060a14f59f13753b4d01
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index d691140f4..79a5cabe1 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -249,10 +249,10 @@ # labconfig is used only for joid labconfig="" if [[ ${INSTALLER_TYPE} == 'apex' ]]; then - if virsh list | grep instack; then + if sudo virsh list | grep instack; then instack_mac=$(sudo virsh domiflist instack | grep default | \ grep -Eo "[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+") - elif virsh list | grep undercloud; then + elif sudo virsh list | grep undercloud; then instack_mac=$(sudo virsh domiflist undercloud | grep default | \ grep -Eo "[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+") else |