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.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • LarsWirzenius | T255695 Create a development & testing environment for scap + train deployments | |||
Resolved | • LarsWirzenius | T259609 train-dev: Use fixed MAC addresses for the VMs |
Event Timeline
Comment Actions
Note that this means that you could (or should) not run two of these VMs on the same network.
Comment Actions
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.