Skip to content

Commit

Permalink
Adds cloud defaults support to agent bootstrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
tlm committed Dec 1, 2023
1 parent ad7bb75 commit 868d931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/agentbootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ func (b *AgentBootstrap) Initialize(ctx stdcontext.Context) (_ *state.Controller
ccbootstrap.InsertInitialControllerConfig(stateParams.ControllerConfig),
cloudbootstrap.InsertCloud(stateParams.ControllerCloud),
credbootstrap.InsertCredential(credential.IdFromTag(cloudCredTag), cloudCred),
cloudbootstrap.SetCloudDefaults(stateParams.ControllerCloud.Name, stateParams.ControllerInheritedConfig),
modelbootstrap.CreateModel(controllerUUID, controllerModelArgs),
),
database.BootstrapModelConcern(controllerUUID,
Expand Down

0 comments on commit 868d931

Please sign in to comment.