mirror of
https://github.com/hak8or/proxmox_scripts.git
synced 2025-01-15 11:57:57 +00:00
a
This commit is contained in:
parent
ccc69cb2e8
commit
e978cfc9bf
@ -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)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user