summaryrefslogtreecommitdiff
path: root/lxc
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-01-27 04:35:21 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-01-27 04:35:21 -0600
commit861f1c2c4553663dd4b46fbaabe73d0df5ba8602 (patch)
tree934432870c877389ef11e55492da693c622208c9 /lxc
parente6ade29e5762862955077457c0061d5e769eca1d (diff)
update
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