From e236f631628fca39972419c1b69f9233391b7be2 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 17 Sep 2015 15:18:55 +0200 Subject: [PATCH] Add how to add vmnet interfaces explantion in the error message --- gns3server/modules/vmware/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gns3server/modules/vmware/__init__.py b/gns3server/modules/vmware/__init__.py index d54bb613..9a1b15e5 100644 --- a/gns3server/modules/vmware/__init__.py +++ b/gns3server/modules/vmware/__init__.py @@ -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):