mirror of
https://github.com/rancher/os.git
synced 2025-07-15 15:51:36 +00:00
20 lines
294 B
Go
20 lines
294 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
|
|
"github.com/rancher/os/pkg/install"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
var (
|
|
output = flag.Bool("automatic", false, "Check for and run automatic installation")
|
|
)
|
|
|
|
func main() {
|
|
flag.Parse()
|
|
if err := install.Run(*output); err != nil {
|
|
logrus.Fatal(err)
|
|
}
|
|
}
|