Closed ranjib closed 8 years ago
@caglar10ur @tych0 @stgraber bump.
That sounds like expected behavior, sure isn't ideal but it's what the config management code in LXC will indeed do.
Only the last value is used for keys that aren't lists so we just keep appending as doing something else becomes tricky for complex configs which include a bunch of includes.
Certainly isn't pretty but it gets you a valid config nonetheless
I am trying to use the SetConfigItem api call to change hostname of a container, and I noticed that this results in multiple lxc.utsname entries in the config file. I tried using the ClearConfigItem, but thats failing with "cant clear cgroup item" error message,