From 88b9343549c5de89ba79430676724237f5cab3e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sun, 16 Apr 2017 01:42:22 +0200 Subject: [PATCH] upd: clean base-image package-lists Change-Id: Ia51b388c0a9b1bd34f4ad2e84f7f5594fa5918bb --- modules/lxc/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lxc/manifests/init.pp b/modules/lxc/manifests/init.pp index 0ba4a20..d2795b3 100644 --- a/modules/lxc/manifests/init.pp +++ b/modules/lxc/manifests/init.pp @@ -7,7 +7,7 @@ class lxc { }-> exec {'lxc-base-image-created': logoutput => on_failure, - command => '/usr/bin/lxc-create -n base-image -t debian -- -r stretch --packages=gnupg2,puppet,lsb-release,debconf-utils',# gnupg2 needed for puppet managing apt-keys + command => '/usr/bin/lxc-create -n base-image -t debian -- -r stretch --packages=gnupg2,puppet,lsb-release,debconf-utils && rm -r /var/lib/lxc/base-image/rootfs/var/apt/lists',# gnupg2 needed for puppet managing apt-keys unless => '/usr/bin/test -d /var/lib/lxc/base-image', timeout => '0' } -- 2.39.5