summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <spalf0@gmail.com>2019-12-04 03:30:53 -0600
committerTom Barrett <spalf0@gmail.com>2019-12-04 03:30:53 -0600
commit851fc8abf99b35ba2704f45e9604aaf69d7a51b2 (patch)
treeaae150907daa00eb5a1e3c7943fce876710189e0
parenteb9a6331835669d94bb038f8d3f94602c1d32576 (diff)
arch strap
-rwxr-xr-xlxc_setup9
1 files changed, 8 insertions, 1 deletions
diff --git a/lxc_setup b/lxc_setup
index 9c9199c..8f96b01 100755
--- a/lxc_setup
+++ b/lxc_setup
@@ -5,6 +5,13 @@ virsh net-autostart default
echo "kernel.unprivileged_userns_clone=1" > /etc/sysctl.d/80-lxc-userns.conf
echo "tom veth virbr0 2" > /etc/lxc/lxc-usernet
-
echo "you should reboot now."
+
+# to auto build arch with yay
# lxc-create -n name -t download -- --dist archlinux --release current --arch amd64
+# lxc-attach -n name pacman -Sy go git sudo fakeroot binutils make gcc patch
+# lxc-attach -n name useradd tom
+# lxc-attach -n name mkdir /home/tom
+# lxc-attach -n name git clone https://aur.archlinux.org/yay.git /home/tom
+# lxc-attach -n name chown tom:tom -R /home/tom
+# lxc-attach -n name echo "tom ALL=(ALL) ALL" > /etc/sudoers