[lxc-devel] [lxc/master] Call lxc_config_define_load from lxc_execute again
jordemort on Github
lxc-bot at linuxcontainers.org
Fri Oct 27 17:39:33 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 599 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171027/6e031614/attachment.bin>
-------------- next part --------------
From c2143a6710d67970e863c34920491d38d1b839ea Mon Sep 17 00:00:00 2001
From: Jordan Webb <jordemort at github.com>
Date: Fri, 27 Oct 2017 11:53:32 -0500
Subject: [PATCH] Call lxc_config_define_load from lxc_execute again
---
src/lxc/tools/lxc_execute.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lxc/tools/lxc_execute.c b/src/lxc/tools/lxc_execute.c
index a2d42dda7..5fa5f9c94 100644
--- a/src/lxc/tools/lxc_execute.c
+++ b/src/lxc/tools/lxc_execute.c
@@ -168,6 +168,9 @@ int main(int argc, char *argv[])
}
}
+ if (lxc_config_define_load(&defines, c->lxc_conf))
+ exit(EXIT_FAILURE);
+
if (my_args.uid)
c->lxc_conf->init_uid = my_args.uid;
More information about the lxc-devel
mailing list