chore(xo-server/createNetwork): set other_config.automatic to false (#2825)

Fixes #2818

If a network has its other_config.automatic value set to any value other than
false then XenCenter's New VM wizard will create a VIF connected to this network
See https://citrix.github.io/xenserver-sdk/#network
This commit is contained in:
Pierre Donias 2018-04-03 15:32:39 +02:00 committed by Olivier Lambert
parent e40f3acdd4
commit bc86984f19

View File

@ -2011,7 +2011,9 @@ export default class Xapi extends XapiBase {
name_label: name,
name_description: description,
MTU: asInteger(mtu),
other_config: {},
// Set automatic to false so XenCenter does not get confused
// https://citrix.github.io/xenserver-sdk/#network
other_config: { automatic: 'false' },
})
$defer.onFailure(() => this.call('network.destroy', networkRef))
if (pifId) {