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