diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-02-14 13:54:44 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-02-14 13:54:44 +0100 |
commit | dd566fff61a7c6b12e2b301cc1b27ada1adf69fa (patch) | |
tree | 6f1395a0d26a77fb886159cd74eb71932725f2eb /lxc/debian_roll | |
parent | b0a71b20c97ac2b97a1600e088753465137713e0 (diff) |
removed lxc stuff, really only use lxd now...
Diffstat (limited to 'lxc/debian_roll')
-rwxr-xr-x | lxc/debian_roll | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lxc/debian_roll b/lxc/debian_roll deleted file mode 100755 index 5ae7b7e..0000000 --- a/lxc/debian_roll +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -set -e - -NAME=$1 -USER=tom -PASS=durr - -# init -lxc-create -n $NAME -t download -- --dist debian --release buster --arch amd64 -lxc-start -n $NAME -sleep 10 - -# install basics -lxc-attach -n $NAME -- apt update -lxc-attach -n $NAME -- apt dist-upgrade -lxc-attach -n $NAME -- apt install -y sudo openssh-server x11-xserver-utils - -# setup user -lxc-attach -n $NAME -- adduser $USER --gecos "" --disabled-password -lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd $USER' - -# setup x11 forwarding -# lxc-attach -n $NAME -- bash -c 'echo "AllowTcpForwarding yes" >> /etc/ssh/sshd_config' -# lxc-attach -n $NAME -- bash -c 'echo "X11UseLocalhost yes" >> /etc/ssh/sshd_config' -# lxc-attach -n $NAME -- systemctl restart sshd - -# display info -lxc-info -n $NAME |