mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update alpineInit.sh
This commit is contained in:
parent
58d47d2e19
commit
a23021a2c9
1 changed files with 2 additions and 5 deletions
|
@ -36,15 +36,13 @@ acpid | default
|
|||
crond | default
|
||||
seedrng | boot
|
||||
|
||||
# Config and add community and testing repository
|
||||
# Reset configurations of repositories and add community and testing repository
|
||||
rm -rf /etc/apk/repositories
|
||||
echo $LinuxMirror/$alpineVer/main >> /etc/apk/repositories
|
||||
echo $LinuxMirror/$alpineVer/community >> /etc/apk/repositories
|
||||
echo $LinuxMirror/edge/testing >> /etc/apk/repositories
|
||||
|
||||
# Reset configurations of repositories
|
||||
true >/etc/apk/repositories
|
||||
setup-apkrepos -1
|
||||
apk update
|
||||
setup-apkcache /var/cache/apk
|
||||
|
||||
# Synchronize time from hardware
|
||||
|
@ -108,7 +106,6 @@ rc-update add hwclock boot
|
|||
sed -ri 's/ash/bash/g' /etc/passwd
|
||||
|
||||
# Insall more components.
|
||||
apk update
|
||||
apk add axel bind-tools cpio curl e2fsprogs figlet grep grub gzip hdparm lsblk lsof net-tools parted python3 py3-pip udev util-linux virt-what vim wget
|
||||
|
||||
# Use kernel "virt" if be executed on virtual machine.
|
||||
|
|
Loading…
Reference in a new issue