Files
warewulf/cmd/wwclient/main.go
Jonathon Anderson 9f11b4a2b9 Atomic overlay file application in wwclient
Update wwclient such that each file in the runtime overlay is applied
atomically.

- Closes: #1307
- Closes: #1975
- Closes: #1226

Also adds --once flag to allow wwclient to be run one time.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-08-12 23:16:03 -06:00

22 lines
278 B
Go

package main
import (
"fmt"
"os"
"github.com/warewulf/warewulf/internal/app/wwclient"
)
func main() {
root := wwclient.GetRootCommand()
err := root.Execute()
if err != nil {
if wwclient.DebugFlag {
fmt.Printf("\nSTACK TRACE: %+v\n", err)
}
os.Exit(255)
}
}