mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-03 01:01:05 +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
|
*.bak
|
||||||
|
@ -47,6 +47,11 @@ func resourceVmQemu() *schema.Resource {
|
|||||||
Optional: true,
|
Optional: true,
|
||||||
Default: true,
|
Default: true,
|
||||||
},
|
},
|
||||||
|
"agent": {
|
||||||
|
Type: schema.TypeString,
|
||||||
|
Optional: true,
|
||||||
|
Default: "1",
|
||||||
|
},
|
||||||
"iso": {
|
"iso": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
@ -348,6 +353,7 @@ func resourceVmQemuCreate(d *schema.ResourceData, meta interface{}) error {
|
|||||||
Name: vmName,
|
Name: vmName,
|
||||||
Description: d.Get("desc").(string),
|
Description: d.Get("desc").(string),
|
||||||
Onboot: d.Get("onboot").(bool),
|
Onboot: d.Get("onboot").(bool),
|
||||||
|
Agent: d.Get("agent").(string),
|
||||||
Memory: d.Get("memory").(int),
|
Memory: d.Get("memory").(int),
|
||||||
QemuCores: d.Get("cores").(int),
|
QemuCores: d.Get("cores").(int),
|
||||||
QemuSockets: d.Get("sockets").(int),
|
QemuSockets: d.Get("sockets").(int),
|
||||||
|
Loading…
Reference in New Issue
Block a user