Merge "Fix configure-vm.py and xml file for centos8"
This commit is contained in:
commit
a96d30b3b3
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
# not use this file except in compliance with the License. You may obtain
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<memory unit='KiB'>{{ memory }}</memory>
|
<memory unit='KiB'>{{ memory }}</memory>
|
||||||
<vcpu>{{ cpus }}</vcpu>
|
<vcpu>{{ cpus }}</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='{{ arch }}' machine='pc-1.0'>hvm</type>
|
<type arch='{{ arch }}' machine='pc'>hvm</type>
|
||||||
{% if bootdev == 'network' and not uefi_loader %}
|
{% if bootdev == 'network' and not uefi_loader %}
|
||||||
<boot dev='{{ bootdev }}'/>
|
<boot dev='{{ bootdev }}'/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user