diff options
author | 2019-01-04 04:11:57 +0000 | |
---|---|---|
committer | 2019-01-04 04:11:57 +0000 | |
commit | 6bbfadbdfe670334ad7755f3578d668d66dd9756 (patch) | |
tree | 0dd7c8a6bac0921cb096eba6c729245489ddc625 /vagrant/tests/virtlet.sh | |
parent | d0ec87e1df4ce133ca3e10f6de7c5b3789490255 (diff) | |
parent | 159eb9811ee7de4e99efc8f8a8404a2a9f455d70 (diff) |
Merge "Bump kubernetes client to 1.12.3"
Diffstat (limited to 'vagrant/tests/virtlet.sh')
-rwxr-xr-x | vagrant/tests/virtlet.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vagrant/tests/virtlet.sh b/vagrant/tests/virtlet.sh index 268247ba..04c1276d 100755 --- a/vagrant/tests/virtlet.sh +++ b/vagrant/tests/virtlet.sh @@ -26,8 +26,8 @@ setup $virtlet_deployment_name # Test deployment_pod=$(kubectl get pods | grep $virtlet_deployment_name | awk '{print $1}') -vm_name=$(kubectl plugin virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $2}') -vm_status=$(kubectl plugin virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $3}') +vm_name=$(kubectl virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $2}') +vm_status=$(kubectl virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $3}') if [[ "$vm_status" != "running" ]]; then echo "There is no Virtual Machine running by $deployment_pod pod" exit 1 @@ -36,7 +36,7 @@ echo "Pod name: $deployment_pod Virsh domain: $vm_name" echo "ssh testuser@$(kubectl get pods $deployment_pod -o jsonpath="{.status.podIP}")" echo "kubectl attach -it $deployment_pod" echo "=== Virtlet details ====" -echo "$(kubectl plugin virt virsh dumpxml $vm_name | grep VIRTLET_)\n" +echo "$(kubectl virt virsh dumpxml $vm_name | grep VIRTLET_)\n" popd # Teardown |