Commit 9c1f3087 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Force new datasets to no versioning, we do not want one version only.

parent 499f6754
#!/usr/bin/perl -w #!/usr/bin/perl -w
# #
# Copyright (c) 2013-2015 University of Utah and the Flux Group. # Copyright (c) 2013-2016 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -645,6 +645,8 @@ sub HandleIMDataset() ...@@ -645,6 +645,8 @@ sub HandleIMDataset()
if (!defined($image)) { if (!defined($image)) {
fatal("Cannot lookup newly created image for $lname"); fatal("Cannot lookup newly created image for $lname");
} }
# No versioning of datasets for now.
$image->SetNoVersioning(1);
if (defined($write_access)) { if (defined($write_access)) {
if ($write_access eq "creator") { if ($write_access eq "creator") {
$image->GrantAccess($project, 0); $image->GrantAccess($project, 0);
......
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