From 2b91a602223757d52400d7a03533867479f5363f Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 4 Dec 2019 06:47:28 -0600 Subject: full arch strap --- lxc_setup | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 lxc_setup (limited to 'lxc_setup') diff --git a/lxc_setup b/lxc_setup deleted file mode 100755 index 8f96b01..0000000 --- a/lxc_setup +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -virsh net-start default -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 -- cgit v1.2.3