monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 6c6b97910aa692436a8adc15a5d730ff84be9b91
parent 101db9eed7fd724e19b62eb7d975cd3c75d3a57b
Author: z3bra <contactatz3bradotorg>
Date:   Thu, 30 Mar 2017 18:41:19 +0200

update alpine installation scriptÃ

Diffstat:
2015/08/install-alpine-at-onlinenet.txt | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/2015/08/install-alpine-at-onlinenet.txt b/2015/08/install-alpine-at-onlinenet.txt @@ -10,15 +10,16 @@ box and run the following script as root: PATH=/bin:/sbin:/usr/bin:/usr/sbin KEYMAP="us us" + PASSWORD="changemestoopid" HOST=alpine ROOT_FS=ext4 FEATURES="ata base ide scsi usb virtio $ROOT_FS" MODULES="sd-mod,usb-storage,$ROOT_FS" - REL=3.2 + REL=3.5 MIRROR=http://nl.alpinelinux.org/alpine REPO=$MIRROR/v$REL/main - APKV=2.6.3-r0 + APKV=2.6.8-r2 DEV=/dev/sda ROOT_DEV=${DEV}1 ROOT=/mnt @@ -78,7 +79,7 @@ box and run the following script as root: setup-hostname -n $HOST rc-update -q add acpid default - rc-update -q add cron default + rc-update -q add crond default rc-update -q add devfs sysinit rc-update -q add dhcpcd boot rc-update -q add dmesg sysinit @@ -88,6 +89,7 @@ box and run the following script as root: rc-update -q add networking boot rc-update -q add urandom boot rc-update -q add sshd default + rc-update -q add ntpd default echo features=\""$FEATURES"\" > /etc/mkinitfs/mkinitfs.conf @@ -96,7 +98,7 @@ box and run the following script as root: dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/gptmbr.bin of=$DEV CHROOT - chroot /mnt passwd + printf 'root:%S\n' "${PASSWORD}" | chroot /mnt /usr/sbin/chpasswd umount $ROOT/proc umount $ROOT/dev