Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (6 sloc) 0.15 kB
#!/bin/bash
VM=$1
USER=$2
[ -n "$USER" ] && USER="$USER@"
IP=$(onevm show $VM|grep IP=|grep -Eo '[0-9.]+'|head -n 1)
ssh-copy-id "${USER}${IP}"
Jump to Line
Something went wrong with that request. Please try again.