fix: improve warning message for missing mtools in config disk creation. Ref #2778

This commit is contained in:
grossmj 2026-10-02 16:08:38 +02:00
parent 7f8d9c2f54
commit 64e2a62a04
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -178,7 +178,7 @@ class QemuVM(BaseNode):
self.config_disk_image = ""
if self.config_disk_name:
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 = ""
else:
try: