Skip to content

Instantly share code, notes, and snippets.

View ryanc-me's full-sized avatar

Ryan Cole ryanc-me

View GitHub Profile
@ryanc-me
ryanc-me / qemu
Last active August 14, 2025 02:55
KVM Port-Forward Script
#!/bin/bash
#
# INSTRUCTIONS
#
# 1. Place this script at /etc/libvirt/hooks/qemu
# 2. Make it executable: $ sudo chmod +x /etc/libvirt/hooks/qemu
# 3. Add your forwarding rules at the bottom of this file
# 4. Restart the VM, or restart the libvirtd service
#
# Author: Ryan Cole
@ryanc-me
ryanc-me / upgrade.sh
Last active October 24, 2025 03:41
Odoo OCA Upgrade
# What is this?
#
# A script to assist with setting up a multi-version upgrade via OpenUpgrade
#
#
# Why do we need it?
#
# Cloning all of the repos, gathering config files, etc is tedious and error-prone
#
#