mirror of
https://github.com/rancher/os.git
synced 2025-09-17 23:48:09 +00:00
Add TPM and MachineRegister support
This commit is contained in:
@@ -14,6 +14,8 @@ var (
|
||||
automatic = flag.Bool("automatic", false, "Check for and run automatic installation")
|
||||
printConfig = flag.Bool("print-config", false, "Print effective configuration and exit")
|
||||
configFile = flag.String("config-file", "", "Config file to use, local file or http/tftp URL")
|
||||
powerOff = flag.Bool("power-off", false, "Power off after installation")
|
||||
yes = flag.Bool("y", false, "Do not prompt for questions")
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -31,7 +33,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
if err := install.Run(*automatic, *configFile); err != nil {
|
||||
if err := install.Run(*automatic, *configFile, *powerOff, *yes); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user