summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 561d4ef..9bae702 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -44,7 +44,7 @@ while getopts "aef:c:hq" opt ; do
c) CREATEANSWERFILE="$OPTARG";;
e) empty_root_password=1;;
h) usage;;
- q) quick=1; APKREPOSOPTS="-1"; HOSTNAMEOPTS="alpine";;
+ q) empty_root_password=1; quick=1; APKREPOSOPTS="-1"; HOSTNAMEOPTS="alpine";;
*) usage;;
esac
done
@@ -129,7 +129,7 @@ fi
if [ -n "$INTERFACESOPTS" ]; then
printf "$INTERFACESOPTS" | $PREFIX/sbin/setup-interfaces -i
else
- $PREFIX/sbin/setup-interfaces
+ $PREFIX/sbin/setup-interfaces ${quick:+-a}
fi
# start the networking
/etc/init.d/networking --quiet start >/dev/null