feat(Xapi#createVif): default MTU is network's MTU

This commit is contained in:
Julien Fontanet 2016-09-12 11:05:31 +02:00
parent 1155fa1fe9
commit bf96262b6e

View File

@ -1799,7 +1799,7 @@ export default class Xapi extends XapiBase {
async _createVif (vm, network, {
mac = '',
mtu = 1500,
mtu = network.MTU,
position = undefined,
device = position != null ? String(position) : undefined,