Glitch is a tiny command line tool that can help you deal with repetitive work:
- Open and log in to iDrac UI
- Open iDrac virtual console (java or html)
Launch a VirtualConsole with credentials that are stored in Gartner:
glitch.py java <IPMI_ADDRESS>glitch.py html <IPMI_ADDRESS>
Also you can specify your own credentials:
glitch.py html <IPMI_ADDRESS> --user <USER> --password <PASSWORD>
Open iDrac UI and login in:
glitch.py ui <IPMI_ADDRESS>
Don't forget to use help:
glitch.py --helpglitch.py <CMD> --help
Due to the HOST is required argument the flag --host before a value might be skipped.
It is supporting Python2 and Python3 as well.
pip install -r requirements.txtIt is using the WebDriver for automatization Browser routines. In current moment is support only Google Chrome browser. In this way it has to be presented in the OS.
The recommended way is by using Homebrew:
brew cask install chromedriverGo to the download page on the Chromium project and choose the correct version for your Linux installation
WARNING: You should use the same version of chromedriver as your version of the ChromeBrowser
cd $HOME/Downloads
wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
mkdir -p $HOME/bin
mv chromedriver $HOME/bin
echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile`Doesn't support Windows =(