On Mon, Dec 14, 2020 at 02:50:58PM +0800, Wu Fengguang wrote:
On Mon, Dec 14, 2020 at 02:16:00PM +0800, Zhang Yu wrote:
[why] Error: Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No
Then should detect those devices, not docker.
it's not safe when vm could use ipmitool connect to bmc os, for example, use `ipmitool power reset`, the host machine will be reboot.
- is_virt || is_docker && return
Don't mix || and && in same line.
Thanks, Fengguang