Add missing agent on update

This commit is contained in:
Bruno Meneguello 2019-05-23 09:06:24 -03:00
parent 24a4408337
commit 475a365d37
No known key found for this signature in database
GPG Key ID: 1ECBE47F41FA3A4B

View File

@ -509,6 +509,7 @@ func resourceVmQemuUpdate(d *schema.ResourceData, meta interface{}) error {
Name: d.Get("name").(string),
Description: d.Get("desc").(string),
Onboot: d.Get("onboot").(bool),
Agent: d.Get("agent").(int),
Memory: d.Get("memory").(int),
QemuCores: d.Get("cores").(int),
QemuSockets: d.Get("sockets").(int),