Skip to content

Commit

Permalink
Merge pull request #43 from cardinalit/fix
Browse files Browse the repository at this point in the history
added config source, edited .gitignore
  • Loading branch information
ggongaware committed Apr 12, 2019
2 parents 471658b + b38b0f1 commit 551f5b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea

*~*
*.bak
6 changes: 6 additions & 0 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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),
Expand Down

1 comment on commit 551f5b1

@f0rkz
Copy link
Contributor

@f0rkz f0rkz commented on 551f5b1 May 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed to break quite a lot with this plugin. I am unable to build it anymore.

Please sign in to comment.