Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2.7
from pprint import pprint
from multiprocessing.dummy import Pool
from functools import partial
from jnpr.junos import Device
from jnpr.junos.op.arp import ArpTable
user_name = 'tyler'
@routelastresort
routelastresort / gist:5a4860a1b7559d5f653e
Created October 20, 2014 21:10
Vagrant destroy issue with vagrant-vmware-workstation plugin installed
⌁71% [death:~/deploy/cluster/vmware] 2s 1 $ vagrant destroy bd9a58e --debug
INFO global: Vagrant version: 1.6.5
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"

Keybase proof

I hereby claim:

  • I am routelastresort on github.
  • I am routelastresort (https://keybase.io/routelastresort) on keybase.
  • I have a public key whose fingerprint is 98F2 0E69 CEF8 F364 3E21 A3C7 751D 3ACD 03FC 92C8

To claim this, I am signing this object:

@routelastresort
routelastresort / gist:89ec4d7edffc151750cf
Created October 31, 2015 05:54 — forked from kuenishi/gist:3825178
Accessing to VM via serial console at VMware Fusion 5

Environment

  • Using FreeBSD
  • Mountain Lion
  • VMware Fusion 5
  • Your VMware is installed at '/Applications/VMware Fusion.app'
  • Command Line tools are at '/Applications/VMware Fusion.app/Contents/Library'
  • especially vmrun
rm -rfv /etc/foreman-proxy/*ssl*
rm -rfv /etc/foreman/old-certs
rm -rfv /etc/foreman/*.pem
rm -rfv /var/lib/puppet/ssl
rm -rfv /root/ssl-build
foreman-installer -v --certs-regenerate-ca=true --certs-regenerate=true \
--foreman-foreman-url "https://bread.usersys.redhat.com" \
--foreman-servername sat6.example.com \
--certs-ca-common-name sat6.example.com \

Keybase proof

I hereby claim:

  • I am routelastresort on github.
  • I am routelastresort (https://keybase.io/routelastresort) on keybase.
  • I have a public key ASDQAxLHSZCBvruoFfgOxzTZG7gPyInfxIyku_9go4EW6Qo

To claim this, I am signing this object: