revert kvm domain def for bios iso

pull/13762/head
Sharif Elgamal 2022-05-03 21:39:12 -07:00
parent f169f8b4f9
commit 930427f847
1 changed files with 2 additions and 4 deletions

View File

@ -39,9 +39,7 @@ const domainTmpl = `
{{end}}
</cpu>
<os>
<type machine="q35">hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
<nvram>/usr/share/OVMF/OVMF_VARS.ms.fd</nvram>
<type>hvm</type>
<boot dev='cdrom'/>
<boot dev='hd'/>
<bootmenu enable='no'/>
@ -49,7 +47,7 @@ const domainTmpl = `
<devices>
<disk type='file' device='cdrom'>
<source file='{{.ISO}}'/>
<target dev='sdc' bus='sata'/>
<target dev='hdc' bus='scsi'/>
<readonly/>
</disk>
<disk type='file' device='disk'>