mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 03:25:54 +02:00
AWS: Write user-data.log to /var/log
This should not be in /root at all. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -107,7 +107,7 @@ import_aws_configuration() {
|
||||
chmod 700 /tmp/aws-user-data.script
|
||||
|
||||
# Run the user-data script
|
||||
/tmp/aws-user-data.script &>/root/user-data.log
|
||||
/tmp/aws-user-data.script &>/var/log/user-data.log
|
||||
|
||||
# Delete the script right away
|
||||
rm /tmp/aws-user-data.script
|
||||
|
||||
Reference in New Issue
Block a user