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 5dd89058 authored by Kevin Atkinson's avatar Kevin Atkinson

Fix backend script to correctly set loadpart and part1_osid when

creating a whole disk image with the "Easy" form.
parent b4c4b927
......@@ -556,9 +556,12 @@ my $loadlen = 1;
if ($newimageid_args{"wholedisk"}) {
$loadlen = 4;
$loadpart = 0;
$newimageid_args{"part1_osid"} = $osid;
} else {
$newimageid_args{"part${loadpart}_osid"} = $osid;
$newimageid_args{"loadpart"} = $loadpart;
$newimageid_args{"loadlength"} = $loadlen;
$newimageid_args{"part${loadpart}_osid"} = $osid;
$newimageid_args{"default_osid"} = $osid;
# Create the osidtoimageid mapping too.
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