Updating install methodology
This commit is contained in:
parent
b568679df5
commit
6647fc07d6
@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
function header () {
|
function header () {
|
||||||
tput setaf 1
|
tput setaf 1
|
||||||
tput bold
|
tput bold echo $@
|
||||||
echo $@
|
|
||||||
tput sgr0
|
tput sgr0
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -18,10 +17,10 @@ function help() {
|
|||||||
echo '\-l FILE -- Log to a file'
|
echo '\-l FILE -- Log to a file'
|
||||||
echo '\-p -- Productivity package additions'
|
echo '\-p -- Productivity package additions'
|
||||||
echo '\-P -- Power saving for laptops'
|
echo '\-P -- Power saving for laptops'
|
||||||
echo '\-s -- Create a layout for an AniNIX::Spartacus'
|
echo '\-s -- Create a layout for an AniNIX/Spartacus'
|
||||||
echo '\-m -- Skip disk operations and assume storage is mounted on /mnt'
|
echo '\-m -- Skip disk operations and assume storage is mounted on /mnt'
|
||||||
echo '\-v -- Verbose output.'
|
echo '\-v -- Verbose output.'
|
||||||
echo '\-z -- Try to add all the packages on AniNIX::Core'
|
echo '\-z -- Try to add all the packages on AniNIX/Core'
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,6 +75,12 @@ if [ "$answer" != "YES" ]; then
|
|||||||
echo User did not confirm.
|
echo User did not confirm.
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
echo >> /etc/pacman.conf <EOM
|
||||||
|
[AniNIX]
|
||||||
|
SigLevel = Optional TrustAll
|
||||||
|
Server = https://aninix.net/maat/
|
||||||
|
EOM
|
||||||
|
|
||||||
pacman -Syy
|
pacman -Syy
|
||||||
if [ -z "$nodiskbuild" ]; then
|
if [ -z "$nodiskbuild" ]; then
|
||||||
header Allocating space
|
header Allocating space
|
||||||
@ -156,7 +161,7 @@ fi
|
|||||||
# * make for source packages
|
# * make for source packages
|
||||||
# * tor for anonymity
|
# * tor for anonymity
|
||||||
header Installing ArchLinux to device\(s\) on /mnt
|
header Installing ArchLinux to device\(s\) on /mnt
|
||||||
export pkglist="base base-devel parted net-tools bind-tools git openssh make elinks weechat vim wget tor torsocks grub os-prober rsync openntpd tmux efibootmgr"
|
export pkglist="base base-devel parted net-tools bind-tools git openssh make elinks weechat vim wget tor torsocks grub os-prober rsync openntpd tmux efibootmgr shadowarch"
|
||||||
if [ ! -z "$gui" ]; then
|
if [ ! -z "$gui" ]; then
|
||||||
export pkglist="$pkglist"" xorg-server xfce4 chromium conky tigervnc xscreensaver"
|
export pkglist="$pkglist"" xorg-server xfce4 chromium conky tigervnc xscreensaver"
|
||||||
fi
|
fi
|
||||||
@ -297,12 +302,12 @@ fi
|
|||||||
|
|
||||||
# Set hostname
|
# Set hostname
|
||||||
header Set hostname
|
header Set hostname
|
||||||
printf "What is your fully-qualified hostname? (i.e. core.aninix.net) "
|
printf "What is your fully-qualified hostname? (i.e. host.site.example.com) "
|
||||||
read hostname
|
read hostname
|
||||||
echo "$hostname" > /mnt/etc/hostname
|
echo "$hostname" > /mnt/etc/hostname
|
||||||
hostname "$hostname"
|
hostname "$hostname"
|
||||||
|
|
||||||
header Installed ShadowArch on AniNIX::`hostname -s`\!
|
header "Installed ShadowArch on $HOSTNAME!"
|
||||||
if [ ! -z "$nodiskbuild" ]; then
|
if [ ! -z "$nodiskbuild" ]; then
|
||||||
header Remember to run grub-install and set up your bootloader.
|
header Remember to run grub-install and set up your bootloader.
|
||||||
echo 'https://wiki.archlinux.org/index.php/Installation_guide#Boot_loader'
|
echo 'https://wiki.archlinux.org/index.php/Installation_guide#Boot_loader'
|
||||||
|
Loading…
Reference in New Issue
Block a user