2018

Ubuntu – Add Keyboard Shortcut for line in

I use the line in connection on my desktop to route audio for sources other than my PC to the speaker system attached to my computer. For whatever reason, this is still annoyingly cumbersome, even in 2018. For years, I’ve done this by using Alsamixer, a command line mixer. This is fine enough, I guess, but I wanted something a bit more intuitive. The finished result shows the screen popup below, and is triggered by a key combination that executes a script.

Continue reading “Ubuntu – Add Keyboard Shortcut for line in”

Use PowerCLI to determine the ESXi host with the most available RAM

I’m working on a project right now that requires me to do a shared nothing cross vCenter vMotion of about 6K VMs. As you might know, cross vCenter vMotion requires you to specify the ESXi host and the Datastore your VM will live in within the target vCenter; no targeting a cluster of any kind. This brings up some interesting challenges when trying to automate the migration of such a large amount of VMs. One in particular, is the need to target the ESXi host that has the most free space. I am using the function below to do just this – hopefully it helps!

Continue reading “Use PowerCLI to determine the ESXi host with the most available RAM”

Prompt For A New Hostname on Boot

I’ve been brushing up on a few technologies in my home lab, and have found myself using VMware workstation for some simple tasks that don’t require a whole virtualized environment. Workstation didn’t set the hostname of my Ubuntu 18.xx VMs properly after they booted. Maybe I’m a little spoiled by guest OS customization or missing something, but either way, I needed a way to quickly spin up a whole VM and have it’s hostname set correctly. It’s definitely not the cleanest, and I realize I would be better off using the Workstation Pro REST API, but I’m not there yet.

Continue reading “Prompt For A New Hostname on Boot”

Set Up A Headless Raspberry Pi

I find myself setting up Raspberry Pi’s more frequently than I’d like. I never ever have a monitor connected. Below is the method I use to get wireless network connectivity without connecting an Ethernet cable or a monitor and keyboard. This is here because I’m tired of sifting through incorrect articles to find this information.

Continue reading “Set Up A Headless Raspberry Pi”

Reboot! (Welcome to VirtJunkie!)

It’s been 4 years since my last post – wow!

Welcome to VirtJunkie! As the name implies, I want a place to write about things I’m looking at or am interested in relating to Virtualization (and automation).

A lot has changed for me since my last post. Shortly after my last post,  I started working for a large Swiss bank that prohibited me from contributing to a blog. I left that company and spent 3 years at Solarwinds where I shouldhave been contributing to this blog more, but I didn’t. It’s my goal here to provide high quality, relevant content.

Continue reading “Reboot! (Welcome to VirtJunkie!)”