Skip to content

Instantly share code, notes, and snippets.

View diegocattelan-kitme's full-sized avatar

Diego Cattelan diegocattelan-kitme

View GitHub Profile

Signing VirtualBox Kernel Modules

These are the steps I followed enable VirtualBox on my laptop without disabling UEFI Secure Boot. They're nearly identical to the process described on [Øyvind Stegard's blog][blog], save for a few key details. The images here are borrowed from the [Systemtap UEFI Secure Boot Wiki][systemtap].

  1. Install the VirtualBox package (this might be different for your platform).
    src='https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo'
@diegocattelan-kitme
diegocattelan-kitme / kubectl_kubernetes_wrapper_utils.sh
Last active December 31, 2023 11:40
kubectl bash wrapper, i put it in .bashrc.d and invoke kubectl, requires jq, yq, dialog
#!/bin/bash
function k8s_download_kubectl {
mkdir -p ${HOME}/.kube/bin
export KUBECTL_RELEASE=${1}
if [ ! -f "${HOME}/.kube/bin/kubectl_${KUBECTL_RELEASE}" ]; then
echo "Downloading kubectl ${KUBECTL_RELEASE}"
curl -L "https://dl.k8s.io/release/${KUBECTL_RELEASE}/bin/linux/amd64/kubectl" \