Skip to content

Instantly share code, notes, and snippets.

@stafot
stafot / reset_virtualbox_dhcp_leases.sh
Last active November 3, 2020 11:15
Resets virtualbox DHCP leases to ensure that minikube will always take a specific IP.
#!/usr/bin/env bash
function minikube_reset_vbox_dhcp_leases() {
# Check OS version
case $OSTYPE in
darwin*)
VBOX_CONFIG_DIR=Library
;;
linux*)