From: Michael Tremer Date: Wed, 15 Aug 2018 10:49:30 +0000 (+0100) Subject: aws: Write user-data log to file only X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40436fa1491084ff370e78c98739d7fd3b7911be;p=people%2Fms%2Fipfire-2.x.git aws: Write user-data log to file only Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-setup index 3dbdfe3fc6..d40534f9a0 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -135,7 +135,7 @@ import_aws_configuration() { chmod 700 /tmp/aws-user-data.script # Run the user-data script - /tmp/aws-user-data.script 2>&1 | tee /root/user-data.log + /tmp/aws-user-data.script &>/root/user-data.log # Delete the script right away rm /tmp/aws-user-data.script