dc62440b9d
The 'get current boot device' part was in there twice, kill one of them. Change-Id: I49ad2f32f7634515b28ce9e12ca4372d3dae3e12
981 B
981 B
VirtualBMC
A virtual BMC for controlling virtual machines using IPMI commands.
Installation
pip install virtualbmc
Supported IPMI commands
# Power the virtual machine on, off, graceful off, NMI and reset
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off|soft|diag|reset
# 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