Commit 0d82c973 authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

The myip file in the vnode's /var/emulab/boot was being appended to. If

the pnode rebooted, the file got multiple entries causing the generated
gated config to have syntax errors.
parent a48eef2b
......@@ -524,7 +524,7 @@ 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");
mysystem("echo $IP > $path/root/var/emulab/boot/myip");
}
TBDebugTimeStamp("mkjail creating /var/log files");
......
Supports Markdown
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