Image of Sysadminday


Ever found yourself writing a lot of papers? You turned into a Word ninja because, well, you had to? While Word is fantastic and super powerful, especially for research papers and if you frequently use a certain template, LaTeX might be a better option. LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents. LaTeX is available as free software.

I shared my APA TEMPLATE template here, it saves me a ton of time having to format things in Word over and over again.


Pretty cool, I’ve been working as Technical Reviewer helping out Thomas Lee (aka TFL) in writing this book. It holds a lot of knowledge and a fantastic intro by Jeffrey Snover. It finally released! Get a copy here


A cool little trick. Sometimes GitHub/Jekyll does not like to rebuild, just ‘force’ a rebuild by pushing an empty commit.

git commit -m 'rebuild pages' --allow-empty
git push origin <branch-name>

Foy my new work I have to get cozy with Puppet. Puppet provides a great learning VM, however it is in a OVA format, and I need it as a VHD so I can use it with Hyper-V in my homelab.

There are several ways and utilities to convert an OVA to VHD

That script however seems to be finniky at times, depending on the OVA file. I found that the VirtualBox convert utility seems to work quote a bit easier and more reliable.

It’s as easy as this:

  1. Install VirtualBox (Just install the ‘Virtual Application’, no need for all the other stuff)
  2. Extract the VMDK from the OVA (e.g. with 7-Zip)
  3. Run this in an Admin CMD session:
    $VMDK = "c:\path\to\machine.vmdk"
    $VHD  = "c:\path\to\machine.vhd" #the utility will create the VHD for you
    & "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonemedium --format vhd $vmdk $VHD
    

    And voila, you should have a VHD from the OVA that you can use in Hyper-V.

EDIT: 12/10/2018

So yeah that was not enough to get it to work in Hyper-V after all. I ended up using the StartWind v2v Converter. After that the VM is still no happy, you have to start the vm in ‘rescue mode’ to get it to boot happily.

CentOS_Recure_mode_for_Puppet_Learning_VM