~sbeattie/ubuntu-qa-tools/+git/ubuntu-qa-tools:master

Last commit made on 2017-09-20
Get this branch:
git clone -b master https://git.launchpad.net/~sbeattie/ubuntu-qa-tools/+git/ubuntu-qa-tools
Only Steve Beattie can upload to this branch. If you are Steve Beattie please log in for upload directions.

Branch merges

Branch information

Recent commits

33ea95b... by Jamie Strandboge

vm-tools/uvt: use 'virsh domifaddr' for ping/ssh when UVT_USE_DOMIFADDR=1
- add vm_domifaddr()
- adjust vm_run_command() to use ip with ssh if UVT_USE_DOMIFADDR=1
- adjust vm_ping() to obtain ip and ping it if UVT_USE_DOMIFADDR=1
- adjust ssh_connect() to add 'resolve=True' argument which will call
  vm_domifaddr() if UVT_USE_DOMIFADDR=1

While not required for uvt, people may want to adjust their ~/.ssh/config to
have something along the lines of:

Host *.vm sec-*-amd64 sec-*-i386
# StrictHostKeyChecking no
# UserKnownHostsFile /dev/null
    ProxyCommand nc $(virsh domifaddr $(echo %h | sed "s/\.vm//g") | grep ipv4 | tail -1 | awk '{print $NF}' | cut -d '/' -f 1) %p

so that things like 'ssh sec-xenial-amd64' work as expected.

Some recent commit information could not be fetched.