This commit is contained in:
ahmadbilalkhalid 2019-08-25 15:50:39 +05:00
parent 72362d9645
commit 8077e649f2
1 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,11 @@ if [[ ! -e /etc/conf.d/local ]] && ! grep -q "rc_verbose=yes" /etc/conf.d/local;
echo "rc_verbose=yes" >> /etc/conf.d/local
fi
# Enable Edge Repo
sed -i -e 's/v[[:digit:]]\.[[:digit:]]/edge/g' /etc/apk/repositories
apk upgrade --update-cache --available
# Check if rdnssd is installed, if not put ungleich DNS
# into /etc/resolv.conf and install rdnssd for the next time
if ! $(which rdnssd); then
@ -39,7 +44,7 @@ rdnssd -u root -r /etc/resolv.conf
# Initial Package Intallation
if [[ $(get_distro) = "alpine" ]]; then
apk update
apk add openssh-server sfdisk util-linux jq
apk add openssh-server sfdisk util-linux jq curl
mkdir -p $(dirname $ssh_authorized_keys_path)
touch $ssh_authorized_keys_path