aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy.py
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-06-15 17:19:54 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-15 17:19:54 +0000
commit3cddf277c5966c5cc584a493d5923cc5dcdc7820 (patch)
tree2370a47da81ae080c195bff7e74815386413076a /deploy/deploy.py
parentf09f2e3c661b8fcb1c82151e1ad17eea7275b417 (diff)
parente9838d6a94d3b49c8a85d42fbf5cddc69af6cdc5 (diff)
Merge "virtual_fuel: initial support for remote libvirt"
Diffstat (limited to 'deploy/deploy.py')
-rwxr-xr-xdeploy/deploy.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/deploy.py b/deploy/deploy.py
index 742e76baa..179ee7bcb 100755
--- a/deploy/deploy.py
+++ b/deploy/deploy.py
@@ -245,6 +245,11 @@ class AutoDeploy(object):
def check_bridge(pxe_bridge, dha_path):
+ # Assume that bridges on remote nodes exists, we could ssh but
+ # the remote user might not have a login shell.
+ if os.environ.get('LIBVIRT_DEFAULT_URI'):
+ return
+
with io.open(dha_path) as yaml_file:
dha_struct = yaml.load(yaml_file)
if dha_struct['adapter'] != 'libvirt':