Skip to content

Commit

Permalink
set gen2 for both image && pkg on azure (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyberg authored Dec 8, 2024
1 parent e5b1847 commit bd1405f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provider/azure/azure_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (a *Azure) CustomizeImage(ctx *lepton.Context) (string, error) {
func (a *Azure) BuildImageWithPackage(ctx *lepton.Context, pkgpath string) (string, error) {

c := ctx.Config()
amendConfig(c)

a.hyperVGen = armcompute.HyperVGenerationV1
imageType := strings.ToLower(c.CloudConfig.ImageType)
Expand Down

0 comments on commit bd1405f

Please sign in to comment.