Commit 4163afcb authored by Jonathon Duerig's avatar Jonathon Duerig

Modified disk_image names to be a URN with pid and osname separated.

parent 4f2d3b19
......@@ -1744,8 +1744,10 @@ sub print_osids
my @osids = @{ $typemap{$type}->{'OSLIST'} };
my $default = $typemap{$type}->{'OSID'};
foreach $os (@osids) {
my $urn = GeniHRN::Generate($OURDOMAIN, "image",
$osid_pid{$os} . "//" . $osid_name{$os});
print "<disk_image ";
print "name=\"" . $osid_name{$os} . "\" ";
print "name=\"" . $urn . "\" ";
print "os=\"" . $osid_os{$os} . "\" ";
print "version=\"" . $osid_version{$os} . "\" ";
print "description=\"" . $osid_description{$os} . "\" ";
......
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