Commit b4e628d0 authored by Leigh Stoller's avatar Leigh Stoller

Another tweak to how we set the global bit for new images on the

the geni path.
parent 8168c36d
......@@ -452,8 +452,9 @@ if (defined($options{"g"})) {
elsif (defined($options{"r"})) {
$shared = $options{"r"};
}
elsif ($experiment->pid() eq $base_image->pid()) {
elsif ($experiment->pid() eq $base_image->pid() || $experiment->geniflags()) {
# Not crossing projects, so inherit from the base image.
# Or if on the geni path.
if ($base_image->global()) {
$global = 1;
}
......
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