Skip to content

Instantly share code, notes, and snippets.

@mostlyobvious
Created July 21, 2012 15:18
Show Gist options
  • Save mostlyobvious/3156096 to your computer and use it in GitHub Desktop.
Save mostlyobvious/3156096 to your computer and use it in GitHub Desktop.
${1:-hostname}
sudo virsh -c lxc:/// start template
ssh -i template.key [email protected] $1
sudo virsh -c lxc:/// destroy template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment