Skip to content

Instantly share code, notes, and snippets.

View peterloron's full-sized avatar
🍺
Attempting to relax and have a home-brew

Peter Loron peterloron

🍺
Attempting to relax and have a home-brew
  • Standingwave
  • WA, USA
View GitHub Profile
@peterloron
peterloron / ubuntu_base.json
Last active September 18, 2015 05:52
Packer template for ubuntu 14.04 vm creation on VMware
{
"variables": {
"username": "fred",
"password": "xxxxxxxxx",
"source_url": "http://mirror.pnl.gov/releases/14.04.3/ubuntu-14.04.3-server-amd64.iso",
"source_checksum": "9e5fecc94b3925bededed0fdca1bd417",
"public_key": "ssh-rsa blah",
"public_key_rundeck": "ssh-rsa blah"
},
"builders": [{

Keybase proof

I hereby claim:

  • I am peterloron on github.
  • I am peterloron (https://keybase.io/peterloron) on keybase.
  • I have a public key whose fingerprint is CD88 1CE8 5818 876B 030F 0503 7468 DA3D 4D87 5A22

To claim this, I am signing this object:

@peterloron
peterloron / clone.py
Created August 7, 2014 22:30
Clone VM
from pyVim.connect import SmartConnect, Disconnect
from pyVmomi import vim, vmodl
import atexit
import sys
import time
import pprint
#import pudb
pp = pprint.PrettyPrinter(indent=4)