All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 37e92601 authored by Leigh B Stoller's avatar Leigh B Stoller

Hack for Kobus' class; set the termination date of all experiments

to May 1st.
parent 01734cc8
......@@ -32,6 +32,7 @@ use English;
use Getopt::Long;
use XML::Simple;
use File::Temp qw(tempfile :mktemp tmpnam :POSIX);
use Date::Parse;
use Data::Dumper;
use Cwd qw(realpath);
......@@ -637,6 +638,13 @@ if ($localuser) {
if (GetSiteVar("protogeni/use_imagetracker") &&
EmulabFeatures->FeatureEnabled("APT_UseImageTracker",
$emulab_user, $project));
# Hack for Kobus' class, generalize someday.
if ($pid eq "CS4480-2017") {
my $termination = str2time("2017-05-02");
# convert to hours till then
$duration = int(($termination - time()) / 3600);
}
}
elsif (!$localuser) {
if (defined($sshkey)) { #
......
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