mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virt-host-validate: Fix error level for user namespace check
From the code it seems to me that we need user namespace if configured in domain XML. Otherwise we don't use it at all. However our tool is more strict about that. Fix this discrepancy. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -59,7 +59,7 @@ int virHostValidateLXC(void)
|
||||
ret = -1;
|
||||
|
||||
if (virHostValidateNamespace("LXC", "user",
|
||||
VIR_HOST_VALIDATE_FAIL,
|
||||
VIR_HOST_VALIDATE_WARN,
|
||||
_("User namespace support is recommended")) < 0)
|
||||
ret = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user