mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lib/launch-libvirt.c: make model='selinux' disabling explicit
Using `<seclabel type='none'/>` implies `model=selinux`, so lets fill it in to be explicit. Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -1238,6 +1238,7 @@ construct_libvirt_xml_seclabel (guestfs_h *g,
|
||||
/* This disables SELinux/sVirt confinement. */
|
||||
start_element ("seclabel") {
|
||||
attribute ("type", "none");
|
||||
attribute ("model", "selinux");
|
||||
} end_element ();
|
||||
}
|
||||
else if (params->data->selinux_label) {
|
||||
|
||||
Reference in New Issue
Block a user