Browse code

Remove sgabios.bin workaround

The bug has been fixed since a while, also in recent distributions,
for example Ubuntu 20.04, the sgabios.bin ROM is provided directly
by qemu-system-data as an actual file under /usr/share/qemu and
it conflicts with the one provided by sgabios, so removing the
workaround is actually needed to prevent failures.

Change-Id: Ib5f23dbd8839a0927418692054f4ed4abd76babc

Riccardo Pittau authored on 2020/05/14 18:35:03
Showing 1 changed files
... ...
@@ -68,13 +68,6 @@ function install_nova_hypervisor {
68 68
         return
69 69
     fi
70 70
     install_libvirt
71
-    if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
72
-        # Ubuntu packaging+apparmor issue prevents libvirt from loading
73
-        # the ROM from /usr/share/misc.  Workaround by installing it directly
74
-        # to a directory that it can read from. (LP: #1393548)
75
-        sudo rm -rf /usr/share/qemu/sgabios.bin
76
-        sudo cp /usr/share/misc/sgabios.bin /usr/share/qemu/sgabios.bin
77
-    fi
78 71
 }
79 72
 
80 73
 # start_nova_hypervisor - Start any required external services