commit 20394f6e8e009ab619fb0688033fccd506f04a87 Author: root Date: Sun Jan 28 11:10:35 2024 +0200 1 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b621cc3 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: + echo OK + +install-neovim: + apt update + apt install -y neovim + +install-nvim: install-neovim + +install-cloud-init: + apt update + apt install -y cloud-init + +install-lxd: + apt install -y lxd lxc bridge-utils uidmap + +install-zfs: + sed -r -i'.BAK' 's/^deb(.*)$$/deb\1 contrib/g' /etc/apt/sources.list + apt update + apt install -y linux-headers-cloud-amd64 linux-headers-amd64 zfsutils-linux zfs-dkms zfs-zed + modprobe zfs + zfs version diff --git a/REFRENCES.md b/REFRENCES.md new file mode 100644 index 0000000..b888861 --- /dev/null +++ b/REFRENCES.md @@ -0,0 +1,3 @@ +* +* +* diff --git a/init-packages b/init-packages new file mode 100644 index 0000000..3a4b659 --- /dev/null +++ b/init-packages @@ -0,0 +1,13 @@ +make +vim +tmux +sudo +htop +net-tools +netfilter-persistent +iptables-persistent +git +iptstate +conntrack +rsync +iproute2 diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..701bbcc --- /dev/null +++ b/init.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +sed -i -e "s@^deb cdrom@# deb cdrom@g" /etc/apt/sources.list + +apt update +apt install -y $(cat init-packages) + + +sed -i -e "s@mouse\=a@mouse=r@g" /usr/share/vim/vim*/defaults.vim