Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
e5e423b7
Commit
e5e423b7
authored
Jan 15, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More futzing with osids wrt nodes hosting jails.
parent
913ec763
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
tbsetup/ns2ir/node.tcl
tbsetup/ns2ir/node.tcl
+8
-4
tbsetup/ns2ir/tb_compat.tcl.in
tbsetup/ns2ir/tb_compat.tcl.in
+2
-2
No files found.
tbsetup/ns2ir/node.tcl
View file @
e5e423b7
# -*- tcl -*-
#
# EMULAB-COPYRIGHT
# Copyright
(
c
)
2000-200
2
University of Utah and the Flux Group.
# Copyright
(
c
)
2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -131,9 +131,13 @@ Node instproc updatedb {DB} {
# If we haven't specified a osid so far then we should fill it
# with the id from the node_types table now.
if
{
$osid
==
{}}
{
if
{
$virthost
}
{
set osid
"FBSD-STD"
}
else
{
sql query $DB
"select osid from node_types where type =
\"
$type
\"
"
set osid
[
sql fetchrow $DB
]
sql endquery $DB
}
}
else
{
# Do not allow user to set os for virt nodes at this time.
if
{
$isvirt
}
{
...
...
tbsetup/ns2ir/tb_compat.tcl.in
View file @
e5e423b7
# -*- tcl -*-
#
# EMULAB-COPYRIGHT
# Copyright
(
c
)
2000-200
2
University of Utah and the Flux Group.
# Copyright
(
c
)
2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -382,7 +382,7 @@ proc tb-set-node-failure-action {node type} {
proc tb-fix-node
{
vnode pnode
}
{
if
{[
$vnode
info class
]
!=
"Node"
}
{
perror
"
\[
tb-fix-node]
$node
is not a node."
perror
"
\[
tb-fix-node]
$
v
node
is not a node."
return
}
$vnode set_fixed $pnode
...
...
Write
Preview
Markdown
is supported
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