~niedbalski/maas-deployer/add-terminate-nodes-options

« back to all changes in this revision

Viewing changes to vmaas/util.py

  • Committer: Billy Olsen
  • Date: 2015-07-23 18:39:39 UTC
  • Revision ID: wolsen@blackwell-20150723183939-xb644n7ah8cd3917
[billy-olsen,r=hopem] Add remote hypervisor support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
 
73
73
def virsh(cmd, fatal=True):
74
 
    _cmd = ['virsh']
 
74
    _cmd = ['virsh', '-c', CONF.remote]
75
75
    _cmd.extend(cmd)
76
76
    return execc(_cmd, fatal=fatal)
77
77