1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 23:08:09 +00:00

Add how to add vmnet interfaces explantion in the error message

This commit is contained in:
Julien Duponchelle 2015-09-17 15:18:55 +02:00
parent 3e71529702
commit e236f63162

View File

@ -231,8 +231,7 @@ class VMware(BaseManager):
def allocate_vmnet(self):
if not self._vmnets:
raise VMwareError("No VMnet interface available between vmnet{} and vmnet{}".format(self._vmnet_start_range,
self._vmnet_end_range))
raise VMwareError("No VMnet interface available between vmnet{} and vmnet{}. Go to preferences VMware / Network / Configure to add more interfaces.".format(self._vmnet_start_range, self._vmnet_end_range))
return self._vmnets.pop(0)
def refresh_vmnet_list(self):