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
30728b3b
Commit
30728b3b
authored
Dec 08, 2008
by
Leigh B. Stoller
Browse files
Use geniswap program for experiments that are geni.
parent
96fc6962
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/idleswap.in
View file @
30728b3b
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
7
University of Utah and the Flux Group.
# Copyright (c) 2000-200
8
University of Utah and the Flux Group.
# All rights reserved.
#
use
strict
;
...
...
@@ -32,6 +32,7 @@ my $TBLOGS = "@TBLOGSEMAIL@";
my
$TBAUDIT
=
"
@TBAUDITEMAIL
@
";
my
$swapexp
=
"
$TB
/bin/swapexp
";
my
$template_swapout
=
"
$TB
/bin/template_swapout
";
my
$cleanupslice
=
"
$TB
/sbin/cleanupslice
";
# Testbed Support libraries
use
lib
"
@prefix
@/lib
";
...
...
@@ -115,6 +116,12 @@ if ($experiment->IsInstance()) {
exec
"
$template_swapout
-e
$eid
$guid
/
$vers
";
die
("
Failed to exec
$template_swapout
!
");
}
elsif
(
$experiment
->
geniflags
())
{
my
$uuid
=
$experiment
->
uuid
();
exec
"
$cleanupslice
$uuid
";
die
("
Failed to exec
$cleanupslice
!
");
}
else
{
my
$arg
=
"";
...
...
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