uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

commit 8f0090be0359ebbf3f96d7f1d1fa28b256342d47
parent 4cb21c9961c4b1ead73ade2e9c0c932e6f96c0bf
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 21 Nov 2020 16:09:30 +0100

Write /etc/hosts and remove resolv.conf when done with Internet access in chroot.

Diffstat:
Minstall-chroot.sh.in | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/install-chroot.sh.in b/install-chroot.sh.in @@ -10,15 +10,16 @@ https://nl.alpinelinux.org/alpine/edge/community https://nl.alpinelinux.org/alpine/edge/testing EOF -cat <<EOF > /etc/resolv.conf -nameserver 8.8.8.8 -EOF +echo "nameserver 8.8.8.8" > /etc/resolv.conf apk update apk upgrade apk add rng-tools electrum openrc alpine-base +rm -f /etc/resolv.conf + echo "uwu" > /etc/hostname +echo "127.0.0.1 localhost uwu" > /etc/hosts adduser -D -s /bin/ash uwu echo "@USERCREDENTIALS@" | chpasswd