Show a warning when starting ASA8

This commit is contained in:
Julien Duponchelle
2016-01-22 19:46:05 +01:00
parent e9c2a76f43
commit 5617ddc4cc
2 changed files with 26 additions and 0 deletions

View File

@ -694,6 +694,8 @@ class QemuVM(BaseVM):
log.info('QEMU VM "{name}" [{id}] has set the QEMU initrd path to {initrd}'.format(name=self._name,
id=self._id,
initrd=initrd))
if "asa" in initrd:
self.project.emit("log.warning", {"message": "Warning ASA 8 is not officialy supported by GNS3 and Cisco, we recommend to use ASAv. Depending of your hardware this could not work or you could be limited to one instance."})
self._initrd = initrd
@property