Last active
December 22, 2020 10:07
-
-
Save thomasxd24/1dcb98ee4100af53ebfbc5ea0b5d3063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install sudo -y | |
apt update && apt upgrade -y | |
locale-gen --purge en_US.UTF-8 | |
echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\n' > /etc/default/locale | |
sudo apt-get -y install ca-certificates | |
cd /tmp && wget https://apt.puppet.com/puppet6-release-buster.deb | |
sudo dpkg -i /tmp/puppet6-release-buster.deb | |
echo "deb http://deb.theforeman.org/ buster nightly" | sudo tee /etc/apt/sources.list.d/foreman.list | |
echo "deb http://deb.theforeman.org/ plugins nightly" | sudo tee -a /etc/apt/sources.list.d/foreman.list | |
sudo apt-get -y install ca-certificates gpg | |
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add - | |
sudo apt-get update && sudo apt-get -y install foreman-installer | |
ping -c1 $(hostname -f) | |
foreman-installer | |
systemctl restart apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment