fix: fixed the annoying dhcp conflict when having concurrent vm

This commit is contained in:
robcholz
2026-02-08 00:34:01 -05:00
parent 935e0cd566
commit 5e008c9471
+5
View File
@@ -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 <<EOF
systemctl poweroff