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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user