Merge pull request #568 from GNS3/watch_dynamips_change

Watch for dynamips rom & nvram change
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2016-06-14 11:58:42 -06:00
commit 3aea16c527
4 files changed
+97 -22

No files matched your search

+1 -1
View File
@@ -503,7 +503,7 @@ class IOUVM(BaseNode):
# check if there is enough RAM to run
self.check_available_ram(self.ram)
self._nvram_watcher = FileWatcher(self._nvram_file(), self._nvram_changed)
self._nvram_watcher = FileWatcher(self._nvram_file(), self._nvram_changed, delay=10)
# created a environment variable pointing to the iourc file.
env = os.environ.copy()