Commit 4b080ac9 authored by Leigh B Stoller's avatar Leigh B Stoller

Do not override swap/idle settings for PG experiments.

parent f91b8f6b
#!/usr/bin/perl -wT #!/usr/bin/perl -wT
# #
# Copyright (c) 2000-2012 University of Utah and the Flux Group. # Copyright (c) 2000-2013 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -270,9 +270,11 @@ if (defined($copyarg)) { ...@@ -270,9 +270,11 @@ if (defined($copyarg)) {
; ;
} }
elsif (!defined($tempnsfile)) { elsif (!defined($tempnsfile)) {
# If no NS file, then override swap/idle stuff. if (! $genimode) {
$swappable = 0; # If no NS file, then override swap/idle stuff.
$idleswap = 0; $swappable = 0;
$idleswap = 0;
}
} }
elsif (! -f $tempnsfile || ! -r $tempnsfile || -z $tempnsfile) { elsif (! -f $tempnsfile || ! -r $tempnsfile || -z $tempnsfile) {
# Exit so that user sees the error, not us. # Exit so that user sees the error, not us.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment