Page MenuHomePhabricator

train-dev: Use fixed MAC addresses for the VMs
Closed, ResolvedPublic

Description

SSH cares if the IP address of a host changes. To simplify things when re-creating a train-dev VM, we could set a fixed (but random) MAC address when creating the VM with virt-install. This way, the new VM would get the same IP address as the old (and now deleted) VM.

Event Timeline

Note that this means that you could (or should) not run two of these VMs on the same network.

If this is done, the script that launches a new VM would be the place. However, not sure if this is needed anymore? At least in the case of building a new train-dev VM from scratch it doesn't seem needed anymore. Our SSH configs in train-dev seem to obsolete this.

Agreed that it doesn't seem to be an issue during development of train-dev.

I'll close the task then.