From b921d769af0ba8faa4878f6453585e453dc3272a Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 15 Sep 2021 12:04:13 +0200 Subject: [PATCH] M #-: Fix wrong attribute values FALSE --> NO --- src/vmm_mad/remotes/lib/lxc/opennebula_vm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/lxc/opennebula_vm.rb b/src/vmm_mad/remotes/lib/lxc/opennebula_vm.rb index 69ecd2bcd3..4d36948606 100644 --- a/src/vmm_mad/remotes/lib/lxc/opennebula_vm.rb +++ b/src/vmm_mad/remotes/lib/lxc/opennebula_vm.rb @@ -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"