1. Creating Small Local Offline Apt Repos

    Thu 17 January 2019


    We have an offline (i.e. airgapped) Ubuntu machine (or machines) and the need to install packages on them. We also are unable to stand up our own repo mirror (because reasons), so all we have is our single machine with limited disk space.


    Package up only the …

    read more
  2. Another Certificate Request Post with SAN Action

    Wed 17 October 2018


    We need to make several Certificate Signing Requests (CSRs) for our datacenter. Two, or two-thousand, it doesn't matter. We're putting together a one-liner that will solve it for us. Of course we're automating it.


    Create a text file containing your server short names. Say, servers.txt.

    es-data-01 …
    read more
  3. Simple Bash Expansion

    Fri 05 October 2018

    In keeping with the fundamentals, here's a handy one-liner to save yourself a few extra commands.


    We want to delete a number of machines via Salt Cloud, but we want it in a one-liner because we hate typing the same thing over and over.

    $ salt-key
    Accepted Keys:
    esdata-02 …
    read more
  4. Saltstack and VMWare - Deploying VMs from Templates

    Wed 19 September 2018

    It turns out that there are a lot of nuances when using Saltstack with VMWare. Let's walk through the requirements for successfully using Saltstack to deploy VMs on VMWare.


    To narrow the scope of this post, we'll assume the following is already taken care of.

    • The intended use is …
    read more
  5. On Presumptive Software

    Thu 30 August 2018

    If there's one thing that the great Saint Atwood taught me, it's this - software is built to help people do their jobs. That's why we have automation, right? Because we need something done and would rather not spend all our time manually building something. That's why we have software, computers …

    read more
  6. Saltstack's Python API - An Introduction

    Mon 20 August 2018

    I've always said that Salt is not configuration management. I want to expand on one of the capabilities that Salt, as a platform, can offer you. That capability lies just under all the salt commands you're accustomed to firing on the command line. It's Salt's Python API, not to be …

    read more
  7. Adding Virtual Disks in KVM

    Tue 03 July 2018

    Sometimes you need to make a few VMs. For me, it's usually libvirt.

    We have some scripting around the creation of a number of machines, but what we don't have (yet) is the ability to add additional disks to those VMs. So instead of chasing each machine in the VM …

    read more
  8. Invest in the Fundamentals

    Mon 18 June 2018

    If you want to be useful, learn a trade

    In trying to keep up with the latest in technology and staying relevant, it's easy to forget that each one of these emerging technologies is built upon a bedrock of simple, reliable tools. Simple tools that you can learn, and then …

    read more

« Page 2 / 2