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 8b9e4dee authored by Leigh B Stoller's avatar Leigh B Stoller

When a hardware type is supplied for an openvz node, form a proper

node type (so, d710 becomes d710-vm).
parent b13ca759
......@@ -1050,7 +1050,13 @@ sub GetTicketAuxAux($$$$$$$$$)
} else {
my $usertype = GeniXML::FindFirst("n:hardware_type", $ref);
if (defined($usertype)) {
$pctype = GeniXML::GetText("name", $usertype);
#
# Watch for pcvm type set above. If the user specified
# a hardware type for their VMs, then form a proper
# hardware specific pcvm type.
#
my $pt = GeniXML::GetText("name", $usertype);
$pctype = ($pctype eq "pcvm" ? "${pt}-vm" : $pt);
}
}
}
......
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