1
0
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:
Darren Shepherd
2021-10-29 12:20:35 -07:00
parent db84312450
commit 901973e5f6
40 changed files with 3390 additions and 291 deletions

View File

@@ -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)
}
}