diff --git a/lib/setupmanagers/qemuhck/qemu_machine.rb b/lib/setupmanagers/qemuhck/qemu_machine.rb index 5f92c579..bf996f48 100644 --- a/lib/setupmanagers/qemuhck/qemu_machine.rb +++ b/lib/setupmanagers/qemuhck/qemu_machine.rb @@ -300,7 +300,7 @@ def apply_state(name, state) when Hash var_value.merge! value when Array - var_value << value unless var_value.include? value + var_value |= value else raise(QemuHCKError, "Variable #{var} has unsupported type") end