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

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) ===

From faeaa9418dace6bae1175888b1727010915cf922 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Mon, 11 May 2020 12:53:36 +0200
Subject: [PATCH] images/ubuntu: Fix file mode on sudoers file

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/ubuntu.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/images/ubuntu.yaml b/images/ubuntu.yaml
index 3527e34..b38b389 100644
--- a/images/ubuntu.yaml
+++ b/images/ubuntu.yaml
@@ -590,5 +590,12 @@ actions:
   types:
   - vm
 
+- trigger: post-files
+  action: |-
+    #!/bin/sh
+    set -eux
+
+    chmod 0440 /etc/sudoers.d/90-lxd
+
 mappings:
   architecture_map: debian
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to