mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-12 05:12:37 +00:00
QEMU: disable PAM authentication (used for VNC access)
Disable PAM authentication for QEMU 4+: it's a feature used together with VNC access that's not used in Kata. See QEMU commit 8953caf for more details on PAM auth. Fixes: #550 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
parent
c245034dc5
commit
08a68a333c
@ -217,6 +217,10 @@ generate_qemu_options() {
|
|||||||
qemu_options+=(size:--disable-vnc-png)
|
qemu_options+=(size:--disable-vnc-png)
|
||||||
qemu_options+=(size:--disable-vnc-sasl)
|
qemu_options+=(size:--disable-vnc-sasl)
|
||||||
|
|
||||||
|
# Disable PAM authentication: it's a feature used together with VNC access
|
||||||
|
# that's not used. See QEMU commit 8953caf for more details
|
||||||
|
[ "${qemu_version_major}" -ge 4 ] && qemu_options+=(size:--disable-auth-pam)
|
||||||
|
|
||||||
# Disable unused filesystem support
|
# Disable unused filesystem support
|
||||||
[ "$arch" == x86_64 ] && qemu_options+=(size:--disable-fdt)
|
[ "$arch" == x86_64 ] && qemu_options+=(size:--disable-fdt)
|
||||||
qemu_options+=(size:--disable-glusterfs)
|
qemu_options+=(size:--disable-glusterfs)
|
||||||
|
Loading…
Reference in New Issue
Block a user