Warewulf is now being maintained in its own GitHub organization at github.com/warewulf Signed-off-by: Jonathon Anderson <janderson@ciq.com>
16 lines
274 B
Go
16 lines
274 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package exec
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"github.com/warewulf/warewulf/internal/pkg/wwlog"
|
|
)
|
|
|
|
func CobraRunE(cmd *cobra.Command, args []string) error {
|
|
wwlog.Error("This command does not work on non-Linux hosts")
|
|
|
|
return nil
|
|
}
|