Commit 0fb706ab authored by Leigh Stoller's avatar Leigh Stoller

Do not allow cord-testdrive experiments to create disk images.

parent 8bd7667c
......@@ -189,6 +189,15 @@ $slivers = InstanceSliver::LookupForInstance($instance);
$isstud = (isset($this_user) && $this_user->stud() ? 1 : 0);
$wholedisk = FeatureEnabled("WholeDiskImage",$creator,$instance->Group());
#
# Temp hack, maybe generalize. These people should not be creaing
# new images.
#
if ($instance->pid() == "cord-testdrive" && !ISADMIN()) {
$cansnap = 0;
}
$cansnap = 0;
#
# We give ssh to the creator (real user or guest user).
#
......
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