Skip to content

Commit

Permalink
Merge pull request #149 from Prajyot-Parab/main
Browse files Browse the repository at this point in the history
Bump instance memory to 4GiB
  • Loading branch information
ppc64le-cloud-bot authored Nov 28, 2023
2 parents 859c051 + 318cae6 commit 7bdfdf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builder/powervs/step_create_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package powervs
import (
"context"
"fmt"
"time"

"github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/hashicorp/packer-plugin-sdk/multistep"
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
"time"
)

type StepCreateInstance struct {
Expand All @@ -35,7 +36,7 @@ func (s *StepCreateInstance) Run(_ context.Context, state multistep.StateBag) mu
body := &models.PVMInstanceCreate{
ImageID: imageRef.ImageID,
KeyPairName: s.KeyPairName,
Memory: core.Float64Ptr(2),
Memory: core.Float64Ptr(4),
Networks: networks,
ProcType: core.StringPtr("shared"),
Processors: core.Float64Ptr(0.5),
Expand Down

0 comments on commit 7bdfdf0

Please sign in to comment.