Skip to content
Snippets Groups Projects
Verified Commit f756d51f authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

gitlab_runner: Boot VMs in UEFI mode

There is no technical reason for this at the moment, but UEFI is the de
facto firmware for x86-64, so let's be modern.
parent 732a92a4
No related branches found
No related tags found
1 merge request!881libvirt-executor improvements
......@@ -89,7 +89,7 @@ run() {
cleanup() {
rm /run/libvirt-executor/id_ed25519_$(vm_name){,.pub}
virsh destroy "$(vm_name)" || true
virsh undefine --remove-all-storage "$(vm_name)"
virsh undefine --nvram --remove-all-storage "$(vm_name)"
}
case "${1:-}" in
......
......@@ -8,7 +8,7 @@
<entry>io.systemd.credential.binary:ssh.authorized_keys.root=$ssh_authorized_keys_root</entry>
</oemStrings>
</sysinfo>
<os>
<os firmware='efi'>
<type arch='x86_64' machine='q35'>hvm</type>
<smbios mode='sysinfo'/>
</os>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment