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-stable
Commits
ce3ff768
Commit
ce3ff768
authored
Feb 03, 2004
by
Leigh B. Stoller
Browse files
Change NSE osid from hardwired FBSD-NSE, to use the jail osid for the
node type, but allow it to be overridden with tb-set-jail-os().
parent
2d40a5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/assign_wrapper.in
View file @
ce3ff768
...
...
@@ -2135,7 +2135,15 @@ sub InitPnode($pnode, $vnode)
# XXX NSE hack: if the vnode is simulated, we just
# choose FBSD-NSE and static routing
if
(
virtnodeisvnode
(
$vnode
)
&&
virtnodeissim
(
$vnode
))
{
$osid
=
TBOSID
(
TB_OPSPID
,
"
FBSD-NSE
"
);
#
# We can use the Jail hosting OSID for NSE now, but allow override.
#
if
(
defined
(
$jail_osid
))
{
$osid
=
$jail_osid
;
}
else
{
$osid
=
nodejailosid
(
physnodetype
(
$pnode
));
}
DBQueryFatal
("
UPDATE nodes set def_boot_cmd_line='',
"
.
"
startstatus='none',
"
.
...
...
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