Skip to content

Instantly share code, notes, and snippets.

View kevpl's full-sized avatar

Kevin Imber kevpl

  • Puppet Labs, Inc.
  • Portland, OR
View GitHub Profile
@kevpl
kevpl / 1155.md
Last active August 3, 2017 17:21 — forked from rishijavia/1155.md
  1. Review beaker PR
  2. Review beaker-abs PR
  3. Run beaker PR through the pipeline set in BKR-1177
  • should see warning messages specified in bullet point #2 below
  • because there's no ssh_connection_preference provided by beaker-abs before PR is merged
    • using the default connection prefs and ip is first method, but beaker-abs doesn't generate an ip value
  1. Merge beaker-abs PR and release a new gem
  2. Run beaker-abs pipeline after the beaker-abs gem release
@kevpl
kevpl / setup-vmware-image-with-static-IP.md
Created July 5, 2017 16:36 — forked from rishijavia/setup-vmware-image-with-static-IP.md
VMWare Fusion Images with a static IP Address on Mac OS Sierra 10.12.5

How to setup your VMWare Fusion images to use static IP addresses on Mac OS X

When you're just configuring a single server, having a static IP address for your server image isn't too important, but when you're configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.

1. Determine the MAC address of your guest machine

Let's say you have a guest machine with the name ubuntu-lucid-lynx-base and you keep your guest machine images in ~/Documents/Virtual\ Machines/. To determine the MAC address for this VM, you can run:

cat ~/Documents/Virtual\ Machines/ubuntu-lucid-lynx-base.vmwarevm/ubuntu-lucid-lynx-base.vmx | grep ethernet0.generatedAddress