container for Grat-OS
Find a file
2023-11-21 21:25:42 +01:00
templates Update to Grat-OS 2022.06 2022-06-03 21:28:40 +02:00
.gitignore Update to Grat-OS 2022.06 2022-06-03 21:28:40 +02:00
metadata.yaml importing Grat-OS 23.07 metadata 2023-07-23 20:15:48 +02:00
README.md Update README.md 2023-11-21 21:25:42 +01:00

Comment utiliser le containeur?

avec LXC / LXD

Consulter la page wiki pour LXC/LXD.

avec Systemd-nspawn

Consulter la page wiki pour Systemd-nspawn.

Créer/Mettre à jour l'image du containeur

Création de l'image rootfs du containeur

sudo -i
mkdir tmpcntr
URL=https://repo.grat-os.fr/ VERSION=stable KERNEL=container LFS=$HOME/tmpcntr install-grat-os

chroot tmpcntr/
# actions manuelles supplémentaires, ex:
cards install dialog nano editor pager sudo dbus

# Nettoyage logs du containeur
cards purge
exit

Compression en tar.xz du rootfs

cd tmpcntr/
tar -cvJf ../gratos-2023.11.tar.xz .