Skip to content

Commit bd1405f

Browse files
authored
set gen2 for both image && pkg on azure (#1670)
1 parent e5b1847 commit bd1405f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provider/azure/azure_image.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ func (a *Azure) CustomizeImage(ctx *lepton.Context) (string, error) {
9393
func (a *Azure) BuildImageWithPackage(ctx *lepton.Context, pkgpath string) (string, error) {
9494

9595
c := ctx.Config()
96+
amendConfig(c)
9697

9798
a.hyperVGen = armcompute.HyperVGenerationV1
9899
imageType := strings.ToLower(c.CloudConfig.ImageType)

0 commit comments

Comments
 (0)