Add IPMI Power Commands, Soft And Reset
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
powercycle "github.com/hpcng/warewulf/internal/app/wwctl/power/cycle"
|
||||
poweroff "github.com/hpcng/warewulf/internal/app/wwctl/power/off"
|
||||
poweron "github.com/hpcng/warewulf/internal/app/wwctl/power/on"
|
||||
powerreset "github.com/hpcng/warewulf/internal/app/wwctl/power/reset"
|
||||
powersoft "github.com/hpcng/warewulf/internal/app/wwctl/power/soft"
|
||||
powerstatus "github.com/hpcng/warewulf/internal/app/wwctl/power/status"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@@ -23,6 +25,8 @@ func init() {
|
||||
baseCmd.AddCommand(powercycle.GetCommand())
|
||||
baseCmd.AddCommand(poweroff.GetCommand())
|
||||
baseCmd.AddCommand(poweron.GetCommand())
|
||||
baseCmd.AddCommand(powerreset.GetCommand())
|
||||
baseCmd.AddCommand(powersoft.GetCommand())
|
||||
baseCmd.AddCommand(powerstatus.GetCommand())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user