Skip to content

This is a remote function to check if a host is present in Spacewalk. It can be altered to delete or add hosts as well.

Notifications You must be signed in to change notification settings

gbouziden/flask-spacecmd-check-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

flask-spacecmd-check-client

This is a remote function to check if a host is present in Spacewalk. It can be altered to delete or add hosts as well.

To check, run curl:

curl server.address:5000/?hostname=<hostname>

You will need to run this Flask app in the same directory as your ~/.spacecmd/config file.

/root

  • flaskApp.py
  • .spacecmd/config

Setting that up can be found here: https://github.com/spacewalkproject/spacewalk/wiki/spacecmd

About

This is a remote function to check if a host is present in Spacewalk. It can be altered to delete or add hosts as well.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages