Skip to content

Commit

Permalink
inject tls klib along with cloud_init for azure (#1212)
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Eyberg <[email protected]>
  • Loading branch information
eyberg and Ian Eyberg authored Dec 24, 2021
1 parent 0be37d0 commit d14cb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/flags_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (flags *ProviderCommandFlags) MergeToConfig(c *types.Config) (err error) {
}

if c.CloudConfig.Platform == "azure" {
c.RunConfig.Klibs = append(c.RunConfig.Klibs, "cloud_init")
c.RunConfig.Klibs = append(c.RunConfig.Klibs, "cloud_init", "tls")
}

if len(c.CloudConfig.Platform) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestMergeProviderFlags(t *testing.T) {
Platform: "azure",
},
RunConfig: types.RunConfig{
Klibs: []string{"cloud_init"},
Klibs: []string{"cloud_init", "tls"},
},
}

Expand Down

0 comments on commit d14cb0d

Please sign in to comment.