ba679b910981b9aed00bdee96a9bfa7ca9e023de
Prior to this patch, virutalbmc could only be configured in a per-user basis. The configuration file as well the path where the VBMCs are going to be created always lived in the users home directory. This patch is adding support for a "global" configuration file which will live in /etc/virtualbmc/virtualbmc.conf. When vbmc does not find a configuration file in the user directory it will then fallback to the global (if it exist, otherwise it will just uses the defaults values). Also, a new configuration option called "config_dir" has been added. This allows users to configure whatever directory they want to save the created VirtualBMCs where before it always pointed to ~/.vbmc/config. Closes-Bug: #1647341 Change-Id: Id8bca620d1543436f32ecc650fc28cbc3f13f373
Virtual BMC
A virtual BMC for controlling virtual machines using IPMI commands.
Installation
Supported IPMI 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 5Description
Languages
Python
100%