1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #-: Fix wrong attribute values FALSE --> NO

This commit is contained in:
Ruben S. Montero 2021-09-15 12:04:13 +02:00
parent 6f1ed41f8f
commit b921d769af
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -127,7 +127,7 @@ class LXCVM < OpenNebulaVM
# User mapping
# rubocop:disable Layout/LineLength
if @xml['/VM/USER_TEMPLATE/LXC_UNPRIVILEGED'].casecmp('FALSE').zero?
if @xml['/VM/USER_TEMPLATE/LXC_UNPRIVILEGED'].casecmp('NO').zero?
@lxcrc[:id_map] = 0
lxc['lxc.include'] << "#{@lxcrc[:profiles_location]}/profile_privileged"