diff --git a/stages/org.osbuild.systemd.unit b/stages/org.osbuild.systemd.unit index 354c664e..c4512a7a 100755 --- a/stages/org.osbuild.systemd.unit +++ b/stages/org.osbuild.systemd.unit @@ -24,7 +24,7 @@ def main(tree, options): # We trick configparser into letting us write multiple instances of the same option by writing them as keys with no # value, so we enable allow_no_value - config = configparser.ConfigParser(allow_no_value=True) + config = configparser.ConfigParser(allow_no_value=True, interpolation=None) # prevent conversion of the option name to lowercase config.optionxform = lambda option: option diff --git a/stages/org.osbuild.systemd.unit.create b/stages/org.osbuild.systemd.unit.create index 2a027f3c..625f62b8 100755 --- a/stages/org.osbuild.systemd.unit.create +++ b/stages/org.osbuild.systemd.unit.create @@ -28,7 +28,7 @@ def main(tree, options): # We trick configparser into letting us write multiple instances of the same option by writing them as keys with no # value, so we enable allow_no_value - config = configparser.ConfigParser(allow_no_value=True) + config = configparser.ConfigParser(allow_no_value=True, interpolation=None) # prevent conversion of the option name to lowercase config.optionxform = lambda option: option