abc
This commit is contained in:
parent
72362d9645
commit
8077e649f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue