Skip to content

Instantly share code, notes, and snippets.

@mchenetz
Last active January 21, 2017 15:46
Show Gist options
  • Select an option

  • Save mchenetz/e8ee43d9aa0abd534a9005402930dd7d to your computer and use it in GitHub Desktop.

Select an option

Save mchenetz/e8ee43d9aa0abd534a9005402930dd7d to your computer and use it in GitHub Desktop.
cliqr-theforeman-install
#!/bin/bash
apt-get -y install ca-certificates
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb
dpkg -i puppetlabs-release-pc1-trusty.deb
echo "deb http://deb.theforeman.org/ trusty 1.14" > /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins 1.14" >> /etc/apt/sources.list.d/foreman.list
apt-get -y install ca-certificates
wget -q https://deb.theforeman.org/pubkey.gpg -O- | apt-key add -
apt-get update && apt-get -y install foreman-installer
foreman-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment