Skip to content

Commit

Permalink
Store all registration data on installation (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany authored Aug 4, 2022
1 parent 6d730d3 commit 76f61f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/register/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,7 @@ func isSystemInstalled() bool {
func installRegistrationYAML(reg config.Registration) error {
registrationInBytes, err := yaml.Marshal(config.Config{
Elemental: config.Elemental{
Registration: config.Registration{
URL: reg.URL,
CACert: reg.CACert,
},
Registration: reg,
},
})
if err != nil {
Expand Down

0 comments on commit 76f61f5

Please sign in to comment.