summaryrefslogtreecommitdiff
path: root/lxc
diff options
context:
space:
mode:
Diffstat (limited to 'lxc')
-rwxr-xr-xlxc/roll4
1 files changed, 2 insertions, 2 deletions
diff --git a/lxc/roll b/lxc/roll
index 6c8b9ef..fa95cdd 100755
--- a/lxc/roll
+++ b/lxc/roll
@@ -23,8 +23,8 @@ lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd '$USER
# setup for yay
lxc-attach -n $NAME -- mkdir /home/$USER/yay
-lxc-attach -n $NAME -- chown $USER:$USER -R /home/$USER
lxc-attach -n $NAME -- git clone https://aur.archlinux.org/yay-bin.git /home/$USER/yay
+lxc-attach -n $NAME -- chown $USER:$USER -R /home/$USER
lxc-attach -n $NAME -- bash -c 'cd /home/'$USER'/yay && sudo -u '$USER' makepkg -si --noconfirm'
lxc-attach -n $NAME -- bash -c 'sudo -u '$USER' yay -Syu --noconfirm'
@@ -35,4 +35,4 @@ lxc-attach -n $NAME -- bash -c 'echo "X11UseLocalhost yes" >> /etc/ssh/sshd_conf
lxc-attach -n $NAME -- systemctl start sshd
# display info
-lxc-attach -n $NAME -- ip a
+lxc-info -n $NAME