mirror of
https://github.com/rancher/os.git
synced 2025-09-03 07:44:21 +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)
|
||
|
}
|
||
|
}
|