mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
Merge pull request #551 from marcov/qemu4-suse
QEMU: disable PAM authentication (used for VNC access)
This commit is contained in:
commit
ab4e7ee3ed
@ -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