mirror of
https://github.com/robcholz/vibebox.git
synced 2026-10-08 01:01:06 +02:00
fix: fixed the annoying dhcp conflict when having concurrent vm
This commit is contained in:
1 parent
935e0cd566
commit
5e008c9471
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user