From: Frank Brehm Date: Tue, 4 Jan 2022 17:36:08 +0000 (+0100) Subject: Fixing generation of instance file in lib/cr_tf/handler.py X-Git-Tag: 1.5.12^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=59571633244797e3dcd3563ab3579c17542b2fa9;p=pixelpark%2Fcreate-terraform.git Fixing generation of instance file in lib/cr_tf/handler.py --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index e21c30d..b2d6db8 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -2744,7 +2744,7 @@ class CreateTerraformHandler(BaseHandler): c=vm.puppet_customer, m=vm.puppet_contact, e=vm.puppet_env) if vm.puppet_project: cmd += " --project '{pr}'".format(pr=vm.puppet_project) - cmd += " tee /etc/motd" + cmd += " | tee /etc/motd" commands.append(cmd) commands.append("rm -f /tmp/create-motd")