Commit bffccb57 authored by David Johnson's avatar David Johnson

Escape var in generated script.

parent 442712df
......@@ -243,7 +243,7 @@ EOF
VNODES=\`/usr/local/etc/emulab/tmcc vnodelist | sed -nre 's/^VNODEID=(pcvm[0-9]*-[0-9]*) .*$/\1/p' | xargs\`
for vnode in \$VNODES ; do
VTAG=\`/usr/local/etc/emulab/tmcc -n $vnode ifconfig | sed -nre 's/^.* LAN=$agglan .*VTAG=([0-9]*).*$/\1/p'\`
VTAG=\`/usr/local/etc/emulab/tmcc -n \$vnode ifconfig | sed -nre 's/^.* LAN=$agglan .*VTAG=([0-9]*).*$/\1/p'\`
if [ -n "\$VTAG" ]; then
break;
fi
......
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