Merge pull request #57 from bkmeneguello/defaults

Some sane defaults
This commit is contained in:
Grant Gongaware 2019-05-23 10:58:56 -07:00 committed by GitHub
commit 9fe5f2c393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,