Merge pull request #326 from cloudnull/lxc-opts-fix-issues325

Updated lxc_container module to fix option parsing
This commit is contained in:
Brian Coca 2015-03-30 22:10:48 -04:00
commit 3151ff1227

View file

@ -616,7 +616,7 @@ class LxcContainerManagement(object):
# TODO(cloudnull) adjust import when issue has been resolved.
import ast
options_dict = ast.literal_eval(_container_config)
parsed_options = [i.split('=') for i in options_dict]
parsed_options = [i.split('=', 1) for i in options_dict]
config_change = False
for key, value in parsed_options: