The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2287
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === I noticed that support for passing action scripts to CRIU via lxc-checkpoint was added in #2236 , but the action script is only passed to CRIU in restore mode. This change adds passing of the action script in checkpoint mode as well.
From 497a78630cb6f4bb7f1863468d4225796a1bcc23 Mon Sep 17 00:00:00 2001 From: Daniel Selifonov <[email protected]> Date: Sat, 14 Apr 2018 23:26:00 -0700 Subject: [PATCH] Also pass action scripts to CRIU on checkpointing Signed-off-by: Daniel Selifonov <[email protected]> --- src/lxc/tools/lxc_checkpoint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/tools/lxc_checkpoint.c b/src/lxc/tools/lxc_checkpoint.c index 3d8050526..0d0746e55 100644 --- a/src/lxc/tools/lxc_checkpoint.c +++ b/src/lxc/tools/lxc_checkpoint.c @@ -169,6 +169,7 @@ static bool checkpoint(struct lxc_container *c) opts.stop = stop; opts.verbose = verbose; opts.predump_dir = predump_dir; + opts.action_script = actionscript_path; if (pre_dump) mode = MIGRATE_PRE_DUMP;
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
