[CRIU] [PATCH 11/12] p.haul: add --skipowner flag on vz restoring

Alexander Burluka aburluka at virtuozzo.com
Mon Apr 4 07:27:20 PDT 2016


Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
---
 phaul/p_haul_vz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
index 8321520..f3c63db 100644
--- a/phaul/p_haul_vz.py
+++ b/phaul/p_haul_vz.py
@@ -179,7 +179,7 @@ class p_haul_type:
 			self.__setup_restore_extra_args(args_path, img, connection)
 			# Run vzctl restore
 			logging.info("Starting vzctl restore")
-			proc = subprocess.Popen([vzctl_bin, "--skiplock", "restore",
+			proc = subprocess.Popen([vzctl_bin, "--skipowner", "--skiplock", "restore",
 				self._ctid, "--dumpfile", img.image_dir()],
 				stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
 			proc_output = proc.communicate()[0]
-- 
1.8.3.1



More information about the CRIU mailing list