summaryrefslogtreecommitdiff
path: root/src/nss-myhostname
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-13 17:47:30 +0100
committerTom Gundersen <teg@jklm.no>2014-03-13 17:47:33 +0100
commit01dde0611bbf08f7e27aa8442f36eea2d0cca9de (patch)
tree262f0e1ef6281fe23cb6811299e852c6a1b45265 /src/nss-myhostname
parentfc6c7fe9becdd70ae6b671c396f2ad2db0b71cd7 (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 'src/nss-myhostname')
0 files changed, 0 insertions, 0 deletions