Commit 36cbaa20 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

disk_image change; allow name to be a url, url is deprecated.

parent 43a8e0fb
......@@ -967,6 +967,11 @@ sub GetTicketAuxAux($$$$$$$$$)
my $dname = GeniXML::GetText("name", $diskref);
my $url = GeniXML::GetText("url", $diskref);
# url is deprecated; name can be anything.
if (defined($dname) && $dname =~ /^http/) {
$url = $dname;
if (defined($url)) {
if (! TBcheck_dbslot($url, "virt_nodes", "osname",
Supports Markdown
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