dom0/qvm-backup: include icon only for AppVM (#345)

This commit is contained in:
Marek Marczykowski 2011-09-12 16:40:17 +02:00
parent ade25b8c8d
commit 813b626d27

View File

@ -120,7 +120,8 @@ def main():
vm_sz = vm.get_disk_usage (vm.private_img)
files_to_backup += file_to_backup(vm.private_img, vm_sz )
files_to_backup += file_to_backup(vm.icon_path)
if vm.is_appvm():
files_to_backup += file_to_backup(vm.icon_path)
if vm.is_updateable():
if os.path.exists(vm.dir_path + "/apps.templates"):
# template