mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-23 03:12:22 +03:00
fix: improve warning message for missing mtools in config disk creation. Ref #2778
This commit is contained in:
parent
7f8d9c2f54
commit
64e2a62a04
@ -178,7 +178,7 @@ class QemuVM(BaseNode):
|
|||||||
self.config_disk_image = ""
|
self.config_disk_image = ""
|
||||||
if self.config_disk_name:
|
if self.config_disk_name:
|
||||||
if not shutil.which("mcopy"):
|
if not shutil.which("mcopy"):
|
||||||
log.warning("Config disk: 'mtools' are not installed.")
|
log.warning("Config disk: 'mtools' are not installed. Creating a config disk will not work.")
|
||||||
self.config_disk_name = ""
|
self.config_disk_name = ""
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user