UOS - Installation LXC
INFO - /home/: Requires 15.00 GB
INFO - /var/lib/uosserver: Requires 1.00 GB
INFO - /usr/local/bin/: Requires 0.12 GB
INFO - /tmp/: Requires 2.00 GB
INFO - /var/tmp/: Requires 2.00 GB
nesting = "true" #Required
keyctl = "true" #Required
unprivileged = false #Required
"sudo apt-get update && sudo apt-get install -y podman slirp4netns",
1. Création du wrapper sysctl
"echo '#!/bin/sh' | sudo tee -a /usr/local/sbin/sysctl > /dev/null",
"echo '/usr/sbin/sysctl "$@" || true' | sudo tee -a /usr/local/sbin/sysctl > /dev/null",
"echo 'exit 0' | sudo tee -a /usr/local/sbin/sysctl > /dev/null",
"sudo chmod +x /usr/local/sbin/sysctl",
#2 . Install lunifyos
"wget -O install-unifios https://fw-download.ubnt.com/data/unifi-os-server/5172-linux-x64-5.1.42-12e9e3cf-8f8b-4e54-928c-76b80a10c8a4.42-x64",
"chmod +x install-unifios && echo -e 'y\n' | sudo ./install-unifios | sudo tee /tmp/install-unifi.log",
"sudo systemctl enable uosserver && sudo systemctl start uosserver",
#Interface at : https://10.0.0.17:11443
3. Supprimer le wrapper après installation pour nettoyer
"sudo rm -f /usr/local/sbin/sysctl",
https://bookstack.potatokingdom.fr/link/23#bkmrk-%C2%A0-%C2%A0-%C2%A0-%22rm-.%2Finstall-
"rm ./install-unifios"