From 6b4cf305d8e468db7a207bd784d039ee9e4076b8 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 6 Sep 2011 01:52:48 +0200 Subject: [PATCH] dom0/qvm-backup: include custom kernel of StandaloneVM --- dom0/qvm-tools/qvm-backup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom0/qvm-tools/qvm-backup b/dom0/qvm-tools/qvm-backup index 18abd56d..6e83ef98 100755 --- a/dom0/qvm-tools/qvm-backup +++ b/dom0/qvm-tools/qvm-backup @@ -127,6 +127,9 @@ def main(): else: # standaloneVM files_to_backup += file_to_backup(vm.dir_path + "/apps") + + if os.path.exists(vm.dir_path + "/kernels"): + files_to_backup += file_to_backup(vm.dir_path + "/kernels") if os.path.exists (vm.firewall_conf): files_to_backup += file_to_backup(vm.firewall_conf) if os.path.exists(vm.dir_path + '/whitelisted-appmenus.list'):