summaryrefslogtreecommitdiff
path: root/lxc
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-02-06 23:42:25 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-02-06 23:42:25 -0600
commit67c5e05203629a3261052d3c56ef3d4652d134c6 (patch)
treea8d9fbac8c24df26eea16ad0865c2e2cc2d96661 /lxc
parent861f1c2c4553663dd4b46fbaabe73d0df5ba8602 (diff)
fixed passwd bug
Diffstat (limited to 'lxc')
-rwxr-xr-xlxc/roll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lxc/roll b/lxc/roll
index fa95cdd..5af4cca 100755
--- a/lxc/roll
+++ b/lxc/roll
@@ -19,7 +19,7 @@ lxc-attach -n $NAME -- pacman -Sy --noconfirm \
lxc-attach -n $NAME -- useradd $USER
lxc-attach -n $NAME -- mkdir /home/$USER
lxc-attach -n $NAME -- bash -c 'echo "'$USER' ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
-lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd '$USER
+lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd $USER'
# setup for yay
lxc-attach -n $NAME -- mkdir /home/$USER/yay