Skip to content

Instantly share code, notes, and snippets.

@thomasxd24
Last active December 22, 2020 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasxd24/1dcb98ee4100af53ebfbc5ea0b5d3063 to your computer and use it in GitHub Desktop.
Save thomasxd24/1dcb98ee4100af53ebfbc5ea0b5d3063 to your computer and use it in GitHub Desktop.
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