A virtual BMC for controlling virtual machines using IPMI commands.
89128bef0f
This patch is adding a config.py module to the project. The configuration file should be placed at ~/.vbmc/virtualbmc.conf and the current options available are: [log] debug=True/False logfile=<Path to a file> |
||
---|---|---|
images | ||
virtualbmc | ||
.gitignore | ||
LICENSE | ||
README.md | ||
setup.py |
Virtual BMC
A virtual BMC for controlling virtual machines using IPMI commands.
Installation
pip install virtualbmc
Usage
Other supported commands
# Power the virtual machine on or off
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off
# Check the power status
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power status
# Set the boot device to network, hd or cdrom
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootdev pxe|disk|cdrom
# Get the current boot device
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootparam get 5