diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-13 17:47:30 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-13 17:47:33 +0100 |
commit | 01dde0611bbf08f7e27aa8442f36eea2d0cca9de (patch) | |
tree | 262f0e1ef6281fe23cb6811299e852c6a1b45265 /test | |
parent | fc6c7fe9becdd70ae6b671c396f2ad2db0b71cd7 (diff) |
nspawn: make host0's MAC address persistent
We still need to make sure that no two MAC addresses are the same, so we use
a logic similar to what is used in udev to generate MAC addresses, and base
it on a hash of the host's machine ID and thecontainer's name.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions