Sha256: c52bdeff5a7dcdd9cb9eec28b5ffe2fb62d85b5bac473bfe3927f5b5438347c0
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
module Vagabond module Actions module SSH def ssh if(lxc.running?) exec("#{Config[:sudo]}ssh root@#{lxc.container_ip(10, true)} -i /opt/hw-lxc-config/id_rsa -oStrictHostKeyChecking=no") else ui.error "Container #{name} is not currently running" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagabond-0.1.0 | lib/vagabond/actions/ssh.rb |