Commit d75d36e8 authored by Mike Hibler's avatar Mike Hibler

don't pass imageid path to osid constructor, the two pathes are not the same

parent 8610196f
......@@ -517,6 +517,13 @@ exit(0)
# XXX note that osid "path" is not the same as imageid "path". The former
# is for multiboot (aka OSKit) kernels. So we remove the path arg temporary.
my $ipath = $newimageid_args{"path"};
# Cross-connect: Make the os descriptor first with the imagename, then take
# the osid index and use it as the imageid index as well.
$newimageid_args{"ezid"} = 1;
......@@ -528,6 +535,8 @@ UserError($usrerr)
fatal("Could not create new OSID!")
if (!defined($new_osinfo));
$newimageid_args{"path"} = $ipath;
my $osid = $new_osinfo->osid();
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