mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
aws: Execute user-data script while we have networking up
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -60,14 +60,6 @@ case "${1}" in
|
||||
# End DHCP client immediately
|
||||
dhclient -sf /etc/rc.d/helper/aws-setup -r "${intf}" &>/dev/null
|
||||
|
||||
# Run AWS user-data script
|
||||
if [ -x "/tmp/aws-user-data.script" ]; then
|
||||
/tmp/aws-user-data.script
|
||||
|
||||
# Delete the script right away
|
||||
rm /tmp/aws-user-data.script
|
||||
fi
|
||||
|
||||
exit 0
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user