This commit is contained in:
2017-11-03 21:25:43 -04:00
parent ccc69cb2e8
commit e978cfc9bf
1 changed files with 7 additions and 11 deletions

View File

@ -12,11 +12,6 @@ echo "----> Enabling SSH"
systemctl enable sshd systemctl enable sshd
systemctl start sshd systemctl start sshd
# Disable root check for makepkg since we are using root for everything.
# Replace the "if (( EUID == 0 )); then" with "if (( 0 )); then" to force root
# check to always fail.
sed -i 's/if (( EUID == 0 )); then/if (( 0 )); then/' /usr/bin/makepkg
# Setup keys for pacman # Setup keys for pacman
echo "----> Setting up keys for pacman" echo "----> Setting up keys for pacman"
pacman-key --init pacman-key --init
@ -47,8 +42,13 @@ echo "----> Updating"
pacman -Syu --noconfirm pacman -Syu --noconfirm
# Install git and base-devel which includes gcc and jazz. # Install git and base-devel which includes gcc and jazz.
echo "----> Installing base-devel and git" echo "----> Installing base-devel, git, htop, vim, and cowsay"
pacman -S base-devel git --noconfirm pacman -S base-devel git htop vim cowsay --noconfirm
# Disable root check for makepkg since we are using root for everything.
# Replace the "if (( EUID == 0 )); then" with "if (( 0 )); then" to force root
# check to always fail.
sed -i 's/if (( EUID == 0 )); then/if (( 0 )); then/' /usr/bin/makepkg
# Install Yaourt. Why yaourt instead of pacaur? Because pacaur doesn't allow # Install Yaourt. Why yaourt instead of pacaur? Because pacaur doesn't allow
# itself to be ran as root, even though all we have is root in the container, # itself to be ran as root, even though all we have is root in the container,
@ -70,10 +70,6 @@ cd ..
cd .. cd ..
rm -r -f ~/tmp rm -r -f ~/tmp
# Install htop and cowsay cause they are awesome
echo "----> Installing htop and cowsay"
yaourt -S htop cowsay --noconfirm
# And say what the IP address is to the terminal. # And say what the IP address is to the terminal.
cowsay "All Done!IP Address information: $(ip addr show)" cowsay "All Done!IP Address information: $(ip addr show)"