diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-28 00:38:57 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-28 00:43:52 +0200 |
commit | c034acca79007040c9e1b3e7ad22b166f6ff4d7a (patch) | |
tree | 110cbdbb9e1a16c901ca85489054ca83e8cf7174 /mcp/scripts/globals.sh | |
parent | 2dde16ca1276a4982602dd303c5cf6d6324daa6f (diff) |
[deploy] Use qemu:///system for virt-inst too
Make sure `virsh` and `virt-install` use the same connection URI.
Fixes: e49ffac1
Change-Id: I437f063ce9936804248b7cf09f6ecfef6417f387
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/globals.sh')
-rw-r--r-- | mcp/scripts/globals.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/globals.sh b/mcp/scripts/globals.sh index 40b669b60..754308f09 100644 --- a/mcp/scripts/globals.sh +++ b/mcp/scripts/globals.sh @@ -12,7 +12,7 @@ export CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x export SSH_KEY=${SSH_KEY:-"/var/lib/opnfv/mcp.rsa"} export SALT_MASTER=${INSTALLER_IP:-10.20.0.2} export SALT_MASTER_USER=${SALT_MASTER_USER:-ubuntu} -export VIRSH=${VIRSH:-'virsh -c qemu:///system'} +export VIRSH=${VIRSH:-'virsh --connect qemu:///system'} # Derived from INSTALLER_IP export MCPCONTROL_NET=${MCPCONTROL_NET:-${SALT_MASTER%.*}.0} |