vm_json=$(echo "[ $(virsh list --all|grep -Ev 'Id|----'|awk '{print "{ \"id\": \""$1"\", \"name\": \""$2"\", \"state\": \""$3 $4"\"}," }'|head -n -1) {} ]"|jq -r)
Example Output
If you're a homelabber and are interested in attempting to use the iLO4's agentless management functionality (how is it agentless if you have to install software on the OS?), you can do so by installing the HP AMS Package
sudo su -
wget https://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/hp-ams_2.8.3-3056.1ubuntu16_amd64.deb
dpkg -i hp-ams_2.8.3-3056.1ubuntu16_amd64.deb
WORK IN PROGRESS
Because the documentation scattered around the internet is pretty inconsistent, I'm putting everything I've found that seems to work together here.
This took too much effort to get sorted out, so I'm documenting everything figured out so far here.
This has been tested on Ubuntu 22.04 with 3x Crucial MX500 1TB SSDs purchased in 2023
sudo apt-get install -y smartmontools unzip curl
Because remapping can confuse the keyboard, we have to temporarily reprogram two keys outside of the left Windows and Left Alt keys that we're trying to work with in order to get the keys swapped like we want. It would be nice if the Armour Crate software would provide a way to specify a known key rather than having us type it-but c'est la vie!
/ ?
key in the Armoury Crate Window, then on the right side of the Window, toggle the drop down from Default
to Keyboard Function
Alt
key on your keyboard and press the left Alt
key, you will now see that the / ?
key is set to Left AltBackground: In an effort to streamline my local network and reduce the number of dedicated devices, I began an effort to move off of my Unifi Cloudkey Gen 1 to a Docker Container. While the migration should be straight forward-it is definitely not!
Before we begin, ensure that your existing Cloudkey is still connected to the network and operational. This is crucial to migrate the existing settings and to leverage the Unifi migration tooling for a site to save on having to wipe your configuration and rebuild everything from scratch.