Skip to content

Commit 794b604

Browse files
committed
Attempting to rectify issues with config application
1 parent afb111a commit 794b604

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/container/manager.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ func (m *LXCManager) Create(name string, cfg *common.Container) error {
142142
}
143143
}
144144

145+
// Apply container configuration
146+
if err := m.applyConfig(name, cfg); err != nil {
147+
return fmt.Errorf("failed to apply container configuration: %w", err)
148+
}
149+
145150
// Convert common.Container to config.Container for state saving
146151
configContainer := config.FromCommonContainer(cfg)
147152

0 commit comments

Comments
 (0)