mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-11-01 11:52:31 +00:00
Merge pull request #718 from whowutwut/pkvm_diskless
Fix issue with SGA when creating diskless VMs on PowerKVM
This commit is contained in:
@@ -3875,7 +3875,7 @@ sub dohyp {
|
||||
return 1, "General error establishing libvirt communication";
|
||||
}
|
||||
}
|
||||
if (($command eq 'mkvm' or $command eq 'chvm') and $hypconn) {
|
||||
if (($command eq 'mkvm' or $command eq 'chvm' or $command eq 'rpower') and $hypconn) {
|
||||
my $nodeinfo = $hypconn->get_node_info();
|
||||
if (exists($nodeinfo->{model})) {
|
||||
$confdata->{$hyp}->{cpumodel} = $nodeinfo->{model};
|
||||
|
||||
Reference in New Issue
Block a user