This change is necessary to make sure that the script prefers
are link with internet access. That would usually be red (after
the second boot) or eth* (on the first boot).
That allows (and ensures) that we can install packages in
the user-data script.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
etc/issue
srv/web/ipfire/cgi-bin/credits.cgi
var/ipfire/langs
+etc/rc.d/init.d/aws
running_on_ec2 || exit 0
# Find the first interface to use
- for i in /sys/class/net/*; do
+ for i in /sys/class/net/red* /sys/class/net/eth* \
+ /sys/class/net/*; do
[ -d "${i}" ] || continue
i=$(basename ${i})