Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a1c63744
Commit
a1c63744
authored
Jan 27, 2005
by
Mike Hibler
Browse files
Use PKG_ values from sitevariables for boss/ops packages
parent
61d9c882
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/config/rc.mkelab
View file @
a1c63744
...
...
@@ -320,9 +320,12 @@ sub SetupOpsNode()
# Do this as a separate step cause we need the NFS mounts, but
# must do the unmounts before running ops-install.
#
if
(
!
$emulabconfig
{
OPS_PKG_DIR
}
||
!
$emulabconfig
{
OPS_PKG
})
{
SetupFatal
("
Could not get package info from Emulab!
");
}
print
"
Installing the ops metaport.
\n
";
$ENV
{"
PKG_PATH
"}
=
"
/share/freebsd/packages/FreeBSD-4.10-20050126
"
;
mysystem
("
pkg_add emulab
-ops-1.5
>/tmp/perrs 2>&1
");
$ENV
{"
PKG_PATH
"}
=
$emulabconfig
{
OPS_PKG_DIR
}
;
mysystem
("
pkg_add
$
emulab
config
{OPS_PKG}
>/tmp/perrs 2>&1
");
#
# Clean up a few things on the image and create symlinks into ${TBDIR} for
...
...
@@ -577,9 +580,12 @@ sub SetupBossNode()
# Do this as a separate step cause we need the NFS mounts, but
# must do the unmounts before running ops-install.
#
if
(
!
$emulabconfig
{
BOSS_PKG_DIR
}
||
!
$emulabconfig
{
BOSS_PKG
})
{
SetupFatal
("
Could not get package info from Emulab!
");
}
print
"
Installing the boss metaport.
\n
";
$ENV
{"
PKG_PATH
"}
=
"
/share/freebsd/packages/FreeBSD-4.10-20041102
"
;
mysystem
("
pkg_add -f -v emulab
-boss-1.7
>/tmp/perrs 2>&1
");
$ENV
{"
PKG_PATH
"}
=
$emulabconfig
{
BOSS_PKG_DIR
}
;
mysystem
("
pkg_add -f -v
$
emulab
config
{BOSS_PKG}
>/tmp/perrs 2>&1
");
#
# Extra stuff to fix up php package stuff. Ask Rob!
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment