abc
This commit is contained in:
parent
72362d9645
commit
8077e649f2
1 changed files with 6 additions and 1 deletions
|
@ -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
|
echo "rc_verbose=yes" >> /etc/conf.d/local
|
||||||
fi
|
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
|
# Check if rdnssd is installed, if not put ungleich DNS
|
||||||
# into /etc/resolv.conf and install rdnssd for the next time
|
# into /etc/resolv.conf and install rdnssd for the next time
|
||||||
if ! $(which rdnssd); then
|
if ! $(which rdnssd); then
|
||||||
|
@ -39,7 +44,7 @@ rdnssd -u root -r /etc/resolv.conf
|
||||||
# Initial Package Intallation
|
# Initial Package Intallation
|
||||||
if [[ $(get_distro) = "alpine" ]]; then
|
if [[ $(get_distro) = "alpine" ]]; then
|
||||||
apk update
|
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)
|
mkdir -p $(dirname $ssh_authorized_keys_path)
|
||||||
touch $ssh_authorized_keys_path
|
touch $ssh_authorized_keys_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue