This commit is contained in:
root 2024-01-28 11:10:35 +02:00
commit 20394f6e8e
4 changed files with 47 additions and 0 deletions

22
Makefile Normal file
View File

@ -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

3
REFRENCES.md Normal file
View File

@ -0,0 +1,3 @@
* <https://www.cyberciti.biz/faq/installing-zfs-on-debian-12-bookworm-linux-apt-get/>
* <https://installati.one/install-lxc-debian-12/>
* <https://www.cyberciti.biz/faq/how-to-install-lxd-on-debian-11-linux/>

13
init-packages Normal file
View File

@ -0,0 +1,13 @@
make
vim
tmux
sudo
htop
net-tools
netfilter-persistent
iptables-persistent
git
iptstate
conntrack
rsync
iproute2

9
init.sh Executable file
View File

@ -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