HUB
Sign inSign up

deviantony/toolbox

By deviantony

•Updated over 10 years ago

A set of toolbox images.

Image
0

1.0K

deviantony/toolbox repository overview

⁠Foreman toolbox

Toolbox containing the Foreman Hammer CLI: https://github.com/theforeman/hammer-cli⁠

Run it, you'll need to specify the URL of your Foreman host and the user credentials:

$ docker run --rm -it -e "FOREMAN_URL=https://foreman.domain" -e "USERNAME=myuser" -e "PASSWORD=mypassword" deviantony/toolbox:foreman

⁠SSH plugin

You can mount a volume to your .ssh folder in order to use your private key with hammer host ssh:

$ docker run --rm -it -v ~/.ssh:/ssh -e "FOREMAN_URL=https://foreman.domain" -e "USERNAME=myuser" -e "PASSWORD=mypassword" deviantony/toolbox:foreman

And then use it in the hammer command line:

% hammer host ssh --command "ls /tmp" --user myUser --identity_file /ssh/id_rsa --search "hostgroup_fullname = myHostgroup"

⁠Available modules

Tag summary

Content type

Image

Digest

sha256:259d32156…

Size

290.1 MB

Last updated

over 10 years ago

docker pull deviantony/toolbox:foreman