Commit 27cbc092 authored by Mike Hibler's avatar Mike Hibler
Browse files

Create a "myip" file inside the jail for use by the gated config file

generation code
parent 1be3d150
......@@ -417,6 +417,13 @@ sub mkrootfs($)
}
}
#
# Stash the control net IP if not the same as the host IP
#
if ($IP ne $hostip) {
mysystem("echo $IP >> $path/root/var/emulab/boot/myip");
}
#
# Get a list of all the plain files and create zero length versions
# in the new var.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment