Nat node is only on the GNS3 VM for the moment

Fix https://github.com/GNS3/gns3-gui/issues/1448
This commit is contained in:
Julien Duponchelle committed 2016-08-29 18:31:33 +02:00
1 parent edae834e0e
commit 36d2e80d0a
3 files changed
+19 -3

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ class Nat(Cloud):
}
]
@classmethod
def is_supported(self):
return socket.gethostname() == "gns3vm"
def __json__(self):
return {
"name": self.name,