mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
aws: Write user-data log to file only
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -135,7 +135,7 @@ import_aws_configuration() {
|
|||||||
chmod 700 /tmp/aws-user-data.script
|
chmod 700 /tmp/aws-user-data.script
|
||||||
|
|
||||||
# Run the 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
|
# Delete the script right away
|
||||||
rm /tmp/aws-user-data.script
|
rm /tmp/aws-user-data.script
|
||||||
|
|||||||
Reference in New Issue
Block a user