diff options
| author | Anton Lindqvist <anton@basename.se> | 2018-08-29 22:31:38 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-29 13:31:38 -0700 |
| commit | 14b78b9701cd103c1946aec8b6b1c9da0186a0b1 (patch) | |
| tree | 9b8860ce245b0c48de6b03bac305bb0c361b42c0 /executor | |
| parent | 4937cb2bf08907e1d48044e6e53a22f62e3e8ac5 (diff) | |
vm/vmm: fix IP address detection
The IP address of a VM is calculated based on the formula 100.64.X.3 where X
being the ID of the VM, starting from 0. After starting 256 VMs 64 will flip
over to 65 and so on. A more robust solution to calculating the IP is to simply
read it from output during boot.
While here, stop using the VM ID as the identifier since the VM name also works.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
