Commit bf1ea6eb authored by Leigh B Stoller's avatar Leigh B Stoller

Fix minor bug in pcvm type detection.

parent af47f002
#!/usr/bin/perl -w
#
# Copyright (c) 2010-2012 University of Utah and the Flux Group.
# Copyright (c) 2010-2013 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -287,7 +287,7 @@ sub CreateImage($$$$)
# to pcvm since the image is for a VM. Well, we also use this
# for subnodes, but I am not going to worry about that case.
#
if (exists($xmlparse->{'attribute'}->{"imagename"})) {
if (exists($xmlparse->{'attribute'}->{"def_parentosid"})) {
$xmlparse->{'attribute'}->{"mtype_pcvm"} = {};
$xmlparse->{'attribute'}->{"mtype_pcvm"}->{'value'} = 1;
$alltypes = "";
......
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