diff --git a/uncloud_net/tasks.py b/uncloud_net/tasks.py index 81be402..ee72cbc 100644 --- a/uncloud_net/tasks.py +++ b/uncloud_net/tasks.py @@ -40,7 +40,7 @@ def cdist_configure_wireguard_server(config, server): fd.write(config) - subprocess.run(f"cd ${dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push", + subprocess.run(f"cd {dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push", shell=True) subprocess.run(f"cdist config -vv {server}", shell=True)