ignition: drop embedded provisioning url
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
This commit is contained in:
parent
2b1facb44d
commit
b3f1b0edc8
5 changed files with 4 additions and 29 deletions
|
|
@ -17,8 +17,7 @@ func FirstbootOptionsFromBP(bpIgnitionFirstboot blueprint.FirstBootIgnitionCusto
|
|||
}
|
||||
|
||||
type EmbeddedOptions struct {
|
||||
ProvisioningURL string
|
||||
Config string
|
||||
Config string
|
||||
}
|
||||
|
||||
func EmbeddedOptionsFromBP(bpIgnitionEmbedded blueprint.EmbeddedIgnitionCustomization) (*EmbeddedOptions, error) {
|
||||
|
|
@ -27,7 +26,6 @@ func EmbeddedOptionsFromBP(bpIgnitionEmbedded blueprint.EmbeddedIgnitionCustomiz
|
|||
return nil, errors.New("can't decode Ignition config")
|
||||
}
|
||||
return &EmbeddedOptions{
|
||||
ProvisioningURL: bpIgnitionEmbedded.ProvisioningURL,
|
||||
Config: string(decodedConfig),
|
||||
Config: string(decodedConfig),
|
||||
}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue