From 5e008c947129b0e2e112c18da485c94360d6e476 Mon Sep 17 00:00:00 2001 From: robcholz <84130577+robcholz@users.noreply.github.com> Date: Sun, 8 Feb 2026 00:34:01 -0500 Subject: [PATCH] fix: fixed the annoying dhcp conflict when having concurrent vm --- src/provision.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/provision.sh b/src/provision.sh index 215f71e..3394ffd 100644 --- a/src/provision.sh +++ b/src/provision.sh @@ -43,6 +43,11 @@ systemctl restart ssh # Set this env var so claude doesn't complain about running as root.' echo "export IS_SANDBOX=1" >> .bashrc +# Ensure cloned instances generate unique machine-id on first boot. +truncate -s 0 /etc/machine-id +rm -f /var/lib/dbus/machine-id +ln -sf /etc/machine-id /var/lib/dbus/machine-id + # Shutdown the VM when you logout cat > .bash_logout <