Restrict the list of available Ethernet/TAP adapters. Fixes #352.

This commit is contained in:
grossmj committed 2018-03-15 16:33:23 +07:00
1 parent fb3bcf3b8f
commit 08493871a5
3 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ class Cloud(BaseNode):
if ports != self._ports_mapping:
if len(self._nios) > 0:
raise NodeError("Can't modify a cloud that is already connected.")
raise NodeError("Cannot modify a cloud that is already connected.")
port_number = 0
for port in ports: