Commit 61d9c882 authored by Mike Hibler's avatar Mike Hibler

Split package dir for ops/boss in emulabconfig command.

parent decfb004
......@@ -5492,12 +5492,15 @@ COMMAND_PROTOTYPE(doemulabconfig)
nrows = (int)mysql_num_rows(res);
while (nrows--) {
row = mysql_fetch_row(res);
if (strcmp(row[0], "elabinelab/pkg_path") == 0) {
bufp += OUTPUT(bufp, ebufp - bufp, "PKG_PATH=%s\n",
if (strcmp(row[0], "elabinelab/boss_pkg_dir") == 0) {
bufp += OUTPUT(bufp, ebufp - bufp, "BOSS_PKG_DIR=%s\n",
row[1]);
} else if (strcmp(row[0], "elabinelab/boss_pkg") == 0) {
bufp += OUTPUT(bufp, ebufp - bufp, "BOSS_PKG=%s\n",
row[1]);
} else if (strcmp(row[0], "elabinelab/ops_pkg_dir") == 0) {
bufp += OUTPUT(bufp, ebufp - bufp, "OPS_PKG_DIR=%s\n",
row[1]);
} else if (strcmp(row[0], "elabinelab/ops_pkg") == 0) {
bufp += OUTPUT(bufp, ebufp - bufp, "OPS_PKG=%s\n",
row[1]);
......
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