Skip to content

Commit

Permalink
Merge pull request Telmate#57 from bkmeneguello/defaults
Browse files Browse the repository at this point in the history
Some sane defaults
  • Loading branch information
ggongaware committed May 23, 2019
2 parents 18c3532 + 77858d8 commit 9fe5f2c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,18 @@ func resourceVmQemu() *schema.Resource {
},
"memory": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 512,
},
"cores": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 1,
},
"sockets": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 1,
},
"network": &schema.Schema{
Type: schema.TypeSet,
Expand Down

0 comments on commit 9fe5f2c

Please sign in to comment.