]> git.sommitrealweird.co.uk Git - lxc-debian-unprivileged.git/commitdiff
Quote to allow globs
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 22 May 2016 09:55:33 +0000 (10:55 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 22 May 2016 09:55:33 +0000 (10:55 +0100)
templates/lxc-debian-unprivileged

index 9b45a1b6134ba0da937d28acf329478adc433273..86739442b1178644cc61e86b5675be00c5475f68 100755 (executable)
@@ -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"