cyclades: Do not pass 'hotplug' if disabled
Fix passing of hotplug argument to GanetiRAPIClient, in case the GANETI_USE_HOTPLUG is unset. If the Ganeti version does not support hotplug, passing hotplug=False, will make the jobs fail at Ganeti opcode validation. This commit fixes this by passing the argument, only when the setting is set to True.
Showing with 24 additions and 12 deletions