From f42fa838780d8d13e7a08c01a83c039d94580de6 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 22 May 2016 10:55:33 +0100 Subject: [PATCH] Quote to allow globs --- templates/lxc-debian-unprivileged | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged index 9b45a1b..8673944 100755 --- a/templates/lxc-debian-unprivileged +++ b/templates/lxc-debian-unprivileged @@ -197,7 +197,7 @@ if [ -e "${LXC_ROOTFS}/etc/network/interfaces.d" ]; then fi # remove some interesting breakages in pam for unpriv foo -sed -i -e 's#^\(session.*required.*pam_loginuid.so\)#\#\1#;' "${LXC_ROOTFS}/etc/pam.d/*" +sed -i -e 's#^\(session.*required.*pam_loginuid.so\)#\#\1#;' "${LXC_ROOTFS}"/etc/pam.d/* # set the hostname echo $LXC_NAME > "${LXC_ROOTFS}/etc/hostname" -- 2.39.5