mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-01 07:02:40 +00:00
Merge pull request #43 from cardinalit/fix
added config source, edited .gitignore
This commit is contained in:
commit
551f5b16ab
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
.idea
|
||||
|
||||
*~*
|
||||
*.bak
|
||||
|
|
|
@ -47,6 +47,11 @@ func resourceVmQemu() *schema.Resource {
|
|||
Optional: true,
|
||||
Default: true,
|
||||
},
|
||||
"agent": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Default: "1",
|
||||
},
|
||||
"iso": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
|
@ -348,6 +353,7 @@ func resourceVmQemuCreate(d *schema.ResourceData, meta interface{}) error {
|
|||
Name: vmName,
|
||||
Description: d.Get("desc").(string),
|
||||
Onboot: d.Get("onboot").(bool),
|
||||
Agent: d.Get("agent").(string),
|
||||
Memory: d.Get("memory").(int),
|
||||
QemuCores: d.Get("cores").(int),
|
||||
QemuSockets: d.Get("sockets").(int),
|
||||
|
|
Loading…
Reference in New Issue
Block a user