Skip to content
GitLab
Menu
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
4566a63a
Commit
4566a63a
authored
Feb 17, 2010
by
Mike Hibler
Browse files
The very beginnings of more flexible elabinelab configuration.
Added some unused variables with important sounding names.
parent
e42d618d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/config/rc.mkelab
View file @
4566a63a
...
...
@@ -204,19 +204,6 @@ sub doboot()
return
0
if
(
!
@tmccresults
);
#
# This is temporary until images are up to date.
#
if
(
0
&&
!
$skipit
)
{
print
"
*** Installing current software first ...
\n
";
mysystem
("
cd /users/stoller/testbed/obj-real/tmcd/common;
"
.
"
gmake local-install
");
exec
(
$PROGRAM_NAME
,
("
-s
"));
die
("
*** $0:
\n
"
.
"
Could not re-exec script!
\n
");
}
if
(
!
$debug
)
{
print
"
Redirecting output to
$LOGFILE
\n
";
...
...
@@ -230,6 +217,19 @@ sub doboot()
STDERR
->
autoflush
(
1
);
}
#
# See if we should do a full, from-scratch configuration.
# Defaults to a full-config for backward compat.
#
$emulabconfig
{"
LOADPACKAGES
"}
=
1
if
(
!
defined
(
$emulabconfig
{"
LOADPACKAGES
"}));
$emulabconfig
{"
LOADMFS
"}
=
1
if
(
!
defined
(
$emulabconfig
{"
LOADMFS
"}));
$emulabconfig
{"
BUILDSOURCE
"}
=
1
if
(
!
defined
(
$emulabconfig
{"
BUILDSOURCE
"}));
$emulabconfig
{"
LOADDB
"}
=
1
if
(
!
defined
(
$emulabconfig
{"
LOADDB
"}));
#
# XXX defaults for things that may or may not be passed in.
# Will be overridden if values are actually passed in.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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