Commit c020aca3 authored by Leigh Stoller's avatar Leigh Stoller

Restore Kobus class hack.

parent 051c07d2
......@@ -647,6 +647,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-2018") {
my $termination = str2time("2018-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