The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6892

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) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From e996772fe72671a3638bd327e49cd14dc3a103df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Mon, 17 Feb 2020 18:25:43 -0500
Subject: [PATCH] lxd/vm: Use -sandbox
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/instance/drivers/driver_qemu.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/instance/drivers/driver_qemu.go 
b/lxd/instance/drivers/driver_qemu.go
index 160b8d5f15..010e56f111 100644
--- a/lxd/instance/drivers/driver_qemu.go
+++ b/lxd/instance/drivers/driver_qemu.go
@@ -711,6 +711,7 @@ func (vm *qemu) Start(stateful bool) error {
                "-nodefaults",
                "-no-reboot",
                "-no-user-config",
+               "-sandbox", 
"on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny",
                "-readconfig", confFile,
                "-pidfile", vm.pidFilePath(),
                "-D", vm.LogFilePath(),
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to