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
92481dc1
Commit
92481dc1
authored
Jun 20, 2001
by
Leigh B. Stoller
Browse files
Fix up netdisk path; must include boss.emulab.net: in the path.
Will be fixed later with addition of next_boot_osid.
parent
bbb4b9ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/os_load.in
View file @
92481dc1
...
...
@@ -3,7 +3,7 @@ use English;
use
Getopt::
Std
;
#
# XXX
Paper and plastic IP addresses wired into the kernel choice.
# XXX
boss.emulab.net and users.emulab.net wired in.
# Path to netdisk is wired in (should come from os_info table).
# wd0 wired in. Should come from node_types table in DB
#
...
...
@@ -34,9 +34,9 @@ my $TB = "@prefix@";
push
(
@INC
,
"
$TB
/lib
");
require
libdb
;
my
$
NETDISK
=
"
/tftpboot/netdisk
";
my
$
PAP
ERADDR
=
"
bos
s.emulab.net
";
my
$
PLASTICADDR
=
"
users.emulab.net
";
my
$
BOSSADDR
=
"
boss.emulab.net
";
my
$
US
ERADDR
=
"
user
s.emulab.net
";
my
$
NETDISK
=
"
$BOSSADDR
:/tftpboot/netdisk
";
my
$nodereboot
=
"
$TB
/bin/node_reboot
";
my
$dbg
=
0
;
my
@row
;
...
...
@@ -156,10 +156,10 @@ if ($imagepid) {
if
(
!
(
$imagepath
=~
/^\/proj\//
))
{
die
("
Your image must reside in /proj
\n
");
}
$cmdline
=
"
${
PLASTIC
ADDR}
:
$imagepath
$diskpart
";
$cmdline
=
"
${
USER
ADDR}
:
$imagepath
$diskpart
";
}
else
{
$cmdline
=
"
${
PAPER
ADDR}
:
$imagepath
$diskpart
";
$cmdline
=
"
${
BOSS
ADDR}
:
$imagepath
$diskpart
";
}
#
...
...
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