1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 15:09:27 +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

@@ -5,24 +5,27 @@ type RancherOS struct {
}
type Install struct {
Automatic bool `json:"automatic,omitempty"`
ForceEFI bool `json:"forceEfi,omitempty"`
Device string `json:"device,omitempty"`
ConfigURL string `json:"configUrl,omitempty"`
ISOURL string `json:"isoUrl,omitempty"`
PowerOff bool `json:"powerOff,omitempty"`
NoFormat bool `json:"noFormat,omitempty"`
Debug bool `json:"debug,omitempty"`
TTY string `json:"tty,omitempty"`
ServerURL string `json:"-"`
Token string `json:"-"`
Role string `json:"-"`
Password string `json:"password,omitempty"`
Automatic bool `json:"automatic,omitempty"`
ForceEFI bool `json:"forceEfi,omitempty"`
Device string `json:"device,omitempty"`
ConfigURL string `json:"configUrl,omitempty"`
ISOURL string `json:"isoUrl,omitempty"`
PowerOff bool `json:"powerOff,omitempty"`
NoFormat bool `json:"noFormat,omitempty"`
Debug bool `json:"debug,omitempty"`
TTY string `json:"tty,omitempty"`
ServerURL string `json:"-"`
Token string `json:"-"`
Role string `json:"-"`
Password string `json:"password,omitempty"`
RegistrationURL string `json:"registrationUrl,omitempty"`
RegistrationCACert string `json:"registrationCaCert,omitempty"`
}
type Config struct {
SSHAuthorizedKeys []string `json:"sshAuthorizedKeys,omitempty"`
RancherOS RancherOS `json:"rancheros,omitempty"`
SSHAuthorizedKeys []string `json:"sshAuthorizedKeys,omitempty"`
RancherOS RancherOS `json:"rancheros,omitempty"`
Data map[string]interface{} `json:"-"`
}
type YipConfig struct {