Skip to content

tsliwowicz/gethosts-foreman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gethosts-foreman

Bash auto completion of ssh hosts from foreman

  1. Define GOPATH environment variable (if not already defined)
  2. $ go get github.com/tsliwowicz/gethosts-foreman
  3. $ cp $GOPATH/bin/gethosts-foreman /usr/local/bin (or some other directory in your search path)
  4. $ vi $GOPATH/src/github.com/tsliwowicz/gethosts-foreman/foreman-completion.sh-template (replace the placeholders and save)
  5. $ cp $GOPATH/src/github.com/tsliwowicz/gethosts-foreman/foreman-completion.sh-template /etc/profile.d/foreman-completion.sh
  6. $ source /etc/profile.d/foreman-completion.sh (required only if you want the automcomplete to be active in the existing session)

About

hosts auto completion from foreman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages