diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 69ddcf7..58b815a 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -28,8 +28,8 @@ def get_os_release_variable(key): """ return subprocess.check_output([ '/bin/bash', '-c', - "source /etc/os-release && echo $\{{key}\}".format(key=key) - ]).split() + "source /etc/os-release && echo ${{{key}}}".format(key=key) + ]).trim() def main():