On Wed, Dec 16, 2020 at 10:56:29AM +0800, Wu Fengguang wrote:
On Tue, Dec 15, 2020 at 03:12:57PM +0800, Zhang Dewan wrote:
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.
I mean such test
[[ -e /dev/ipmi0 ]] || [[ -e /dev/ipmi/0 ]] || [[ -e /dev/ipmidev/0 ]] ||
I misunderstood!
Thanks, Dewan
- is_virt || is_docker && return
Don't mix || and && in same line.
Thanks, Fengguang