Skip to content

Instantly share code, notes, and snippets.

@JamesOBenson
JamesOBenson / create_ec2_ami_image_for_openstack.sh
Last active May 12, 2023 18:08
Automated way to convert the latest Amazon Linux 2 image to an OpenStack compatible image
#!/bin/bash
# This idea was from Ales Nosek at https://alesnosek.com/blog/2018/04/21/booting-amazon-linux-2-on-openstack/
# This is an automated way to download Amazon's Linux 2 image and import it into openstack.
local_file=$(find . -name "*openrc.sh" -type f -print -quit)
# If not found, search in /etc/kolla/
if [ -z "$local_file" ]; then
kolla_file=$(find /etc/kolla/ -name "*openrc.sh" -type f -print -quit)
fi
@JamesOBenson
JamesOBenson / update_firmware_from_ubuntu_or_debian.md
Last active August 30, 2024 17:11 — forked from jftuga/update_firmware_from_ubuntu_or_debian.md
How to Update Firmware on Ubuntu or Debian