Skip to content
GitLab
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
645bdf0a
Commit
645bdf0a
authored
Jun 11, 2009
by
Leigh B. Stoller
Browse files
Use the new mapper wrapper instead of assign_wrapper. This code path
is not currently in use though.
parent
3502c206
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/swapexp.in
View file @
645bdf0a
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
8
University of Utah and the Flux Group.
# Copyright (c) 2000-200
9
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -97,7 +97,7 @@ my $signaled = 0;
my
$tbdir
=
"
$TB
/bin
";
my
$tbdata
=
"
tbdata
";
my
$checkquota
=
"
$TB
/sbin/checkquota
";
my
$
wrapper
=
"
$TB
/libexec/assign_wrapper
";
my
$
vtopgen
=
"
$TBROOT
/bin/vtopgen
";
my
$batch
=
0
;
my
$idleswap
=
0
;
my
$autoswap
=
0
;
...
...
@@ -1062,7 +1062,7 @@ elsif ($inout eq "modify") {
# Need the min/max numbers, usually done during prerun.
#
print
"
Doing a pre-assign ...
\n
";
if
(
system
("
$
wrapper
-
t
$pid
$eid
"))
{
if
(
system
("
$
vtopgen
-
p
$pid
$eid
"))
{
fatal
({
type
=>
'
secondary
',
severity
=>
SEV_SECONDARY
,
error
=>
['
update_aborted
',
undef
]},
"
assign prerun failed!
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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