This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 0ed9b77099321c4addd0b91121194d90322242ed (commit) via 647ca912a2addac9ac32d6f91ceeb00c7c184897 (commit) from 1e1806adce3e82b500e6ed6aed6508f0c63358d5 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 0ed9b77099321c4addd0b91121194d90322242ed Author: Michael Tremer michael.tremer@ipfire.org Date: Wed Aug 15 10:11:08 2018 +0100
aws: Install all available updates first
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
commit 647ca912a2addac9ac32d6f91ceeb00c7c184897 Author: Michael Tremer michael.tremer@ipfire.org Date: Wed Aug 15 10:10:13 2018 +0100
aws: Setup DNS during init phase
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
-----------------------------------------------------------------------
Summary of changes: src/initscripts/helper/aws-setup | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Difference in files: diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-setup index 955583c02..792a7d5a5 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -111,6 +111,9 @@ import_aws_configuration() {
# Download the user-data script only on the first boot if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then + # Install all available updates + pakfire update && pakfire upgrade -y + # Download user-data local user_data="$(get user-data)"
@@ -289,11 +292,22 @@ case "${reason}" in # Add the default route ip route add default via "${new_routers}"
+ # Setup DNS + for domain_name_server in ${new_domain_name_servers}; do + echo "nameserver ${domain_name_server}" + done > /etc/resolv.conf + + # The system is online now + touch /var/ipfire/red/active + # Import AWS configuration import_aws_configuration ;;
EXPIRE|FAIL|RELEASE|STOP) + # The system is no longer online + rm -f /var/ipfire/red/active + # Remove all IP addresses ip addr flush dev "${interface}" ;;
hooks/post-receive -- IPFire 2.x development tree