Run apk update before adding git and co.
This commit is contained in:
parent
ccdc89acee
commit
dc1f42ab02
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ mode=$1; shift
|
|||
|
||||
cat <<EOF | ssh -t root@$host
|
||||
echo nameserver 2a0a:e5c0:10:a::a > /etc/resolv.conf
|
||||
apk add git sfdisk sudo util-linux-misc wget
|
||||
apk update
|
||||
apk add git sfdisk sudo wget
|
||||
cd /opt
|
||||
if [ ! -d /opt/ungleich-tools ]; then git clone https://code.ungleich.ch/ungleich-public/ungleich-tools.git; fi
|
||||
/opt/ungleich-tools/alpine-install-on-disk.sh $disk $key $mode
|
||||
|
|
Loading…
Reference in a new issue