Skip to content

Instantly share code, notes, and snippets.

@johnpmitsch
Last active February 6, 2020 15:02
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 johnpmitsch/5cdc41e12f99fcc1baf324f851562750 to your computer and use it in GitHub Desktop.
Save johnpmitsch/5cdc41e12f99fcc1baf324f851562750 to your computer and use it in GitHub Desktop.
Run foreman-maintain on a dev box
  • cd ~ on dev box as vagrant user
  • git clone https://github.com/theforeman/foreman_maintain.git
  • sudo scl enable rh-ruby25 -- gem install bundler
  • sudo scl enable rh-ruby25 -- bundle install
  • Add to .bashrc and run source ~/.bashrc or open up a new terminal
alias foreman_maintain_scl="sudo scl enable rh-ruby25 -- ./bin/foreman-maintain "
  • Run foreman_maintain_scl with foreman maintain arguments in ~/foreman_maintain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment