Last active
June 9, 2024 15:45
-
-
Save Ne00n/8fceddec3a74fddb8ffe0626d41952f4 to your computer and use it in GitHub Desktop.
incus debian install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /etc/apt/keyrings/ && wget -O /etc/apt/keyrings/zabbly.asc https://pkgs.zabbly.com/key.asc | |
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources | |
Enabled: yes | |
Types: deb | |
URIs: https://pkgs.zabbly.com/incus/lts-6.0 | |
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME}) | |
Components: main | |
Architectures: $(dpkg --print-architecture) | |
Signed-By: /etc/apt/keyrings/zabbly.asc | |
EOF' | |
apt-get update && apt-get install incus btrfs-progs lvm2 -y | |
reboot | |
incus admin init --auto --storage-backend=btrfs --storage-create-loop=10 | |
#If you got a routed Subnet | |
incus network set incusbr0 ipv6.address=mahprefix::1/64 ipv6.nat=false ipv6.dhcp.stateful=true | |
#First Container | |
incus launch images:debian/bullseye/amd64 --device root,size=3GiB --config limits.cpu=1 --config limits.memory=512MiB mahContainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment