Skip to content

Commit

Permalink
fix extra user group value in commit request
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Holloway <[email protected]>
  • Loading branch information
loadtheaccumulator authored and ezr-ondrej committed Feb 5, 2025
1 parent 1d645ed commit 9ed3b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clients/imagebuilder/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func (c *Client) ComposeInstaller(ctx context.Context, image *models.Image) (*mo
if image.Installer != nil && image.Installer.Username != "" && image.Installer.SSHKey != "" {
users = append(users, User{Name: image.Installer.Username,
SSHKey: strings.TrimSpace(image.Installer.SSHKey),
Groups: []string{image.Installer.Username, "wheel"}})
Groups: []string{"wheel"}})
}

req := &ComposeRequest{
Expand Down

0 comments on commit 9ed3b4a

Please sign in to comment.