Creating a Windows image for OpenStack

Sat 15 November 2014 by Lars Kellogg-Stedman Tags openstack windows

If you want to build a Windows image for use in your OpenStack environment, you can follow the example in the official documentation, or you can grab a Windows 2012r2 evaluation pre-built image from the nice folks at CloudBase.

The CloudBase-provided image is built using a set of scripts and configuration files that CloudBase has made available on GitHub.

The CloudBase repository is an excellent source of information, but I wanted to understand the process myself. This post describes the process I went through to establish an automated process for generating a Windows image suitable for use with OpenStack.

read more

Building Docker images with Puppet

Wed 22 October 2014 by Lars Kellogg-Stedman Tags puppet docker

I like Docker, but I'm not a huge fan of using shell scripts for complex system configuration...and Dockerfiles are basically giant shell scripts.

I was curious whether or not it would be possible to use Puppet during the docker build process. As a test case, I used the ssh …

read more

Docker networking with dedicated network containers

Mon 06 October 2014 by Lars Kellogg-Stedman Tags docker networking kubernetes

The current version of Docker has a very limited set of networking options:

  • bridge -- connect a container to the Docker bridge
  • host -- run the container in the global network namespace
  • container:xxx -- connect a container to the network namespace of another container
  • none -- do not configure any networking

If you …

read more

Integrating custom code with Nova using hooks

Sat 27 September 2014 by Lars Kellogg-Stedman Tags openstack nova

Would you like to run some custom Python code when Nova creates and destroys virtual instances on your compute hosts? This is possible using Nova's support for hooks, but the existing documentation is somewhat short on examples, so I've spent some time trying to get things working.

The demo_nova_hooks repository …

read more

Stupid command line tricks: Quickly share screen captures

Tue 23 September 2014 by Lars Kellogg-Stedman Tags cli

Sometimes you want to quickly share a screenshot with someone. Here's my favorite mechanism, which assumes you have installed both curl and the ImageMagick suite.

$ import png:- | curl -T- -s

When you run this command, you cursor will change into crosshairs. Click on …

read more