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
417441f1
Commit
417441f1
authored
Dec 21, 2000
by
Leigh B. Stoller
Browse files
Remove older stuff now that new image is ready with TMCD operation.
parent
24a4e884
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbrun.tcl
View file @
417441f1
...
...
@@ -96,46 +96,12 @@ if {[catch "exec $snmpit -debug -u -f $irFile >@ $logFp 2> $tmpio" err]} {
}
readfifo $tmpioFP
"SNMPIT: "
#outs
"PLACEHOLDER - Verifying virtual network."
outs
"PLACEHOLDER - Copying disk images."
outs
"Resetting OS and rebooting."
if
{[
catch
"exec
$os
_setup
$pid
$eid
$ir
File >@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error running
$os
_setup. (
$err
)"
exit 1
}
outs
"PLACEHOLDER - Verifying OS functionality."
# XXX - This should only be done for linux/freebsd OSs
outs
"Setting up interfaces."
if
{[
catch
"exec cat
$ir
File |
$ir2ifc
| sort >
$ifcfile
2>@
$log
Fp"
err
]}
{
outs stderr
"Error generating
$ifcfile
(
$err
)"
exit 1
}
outs
"Setting up delay nodes"
if
{[
catch
"exec
$delay
_setup
$ir
File >@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error running
$delay
_setup. (
$err
)"
exit 1
}
if
{[
catch
"exec
$ifcboot
$pid
$eid
$ifcfile
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error setting interfaces (
$err
)"
exit 1
}
outs
"PLACEHOLDER - Installing secondary packages."
outs
"Creating user accounts."
if
{[
catch
"exec
$mkacct
$eid
$pid
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error running
$mkacct.
(
$err
)"
exit 1
}
outs
"PLACEHOLDER - Rebooting."
outs
"Testbed ready for use."
close $tmpioFP
...
...
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