Commit 3483c427 authored by Leigh Stoller's avatar Leigh Stoller

Error on use of "ops" program agent, not supported in the Portal.

parent 9f91683d
......@@ -215,6 +215,12 @@ for child in tree.getroot():
cmd = row.find("command").text
directory = row.find("dir").text
# Watch for old use of ops program agents, not supported.
if vnode == "ops":
Fatal("Unsupported use of program agents on ops")
# Strip out the startcmd stuff, we want just the command.
foo = re.match(r"^\((.*) ; /usr/local/etc/emulab.*\)", cmd);
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