X-Git-Url: https://fred1m.tech/gitweb/papier-crayon.git/blobdiff_plain/1c7baec0ce63beb89a5949f722013c30c1ea2501..eee373facf244d022d20720a2574dae40316f4bd:/source/machine/FS-mmdebstrap.rst diff --git a/source/machine/FS-mmdebstrap.rst b/source/machine/FS-mmdebstrap.rst index c00b5ef..a1eeb58 100644 --- a/source/machine/FS-mmdebstrap.rst +++ b/source/machine/FS-mmdebstrap.rst @@ -6,7 +6,9 @@ Gérer un emplacement pertinent *sans* super-privilège -:: +.. code-block:: bash + :linenos: + :emphasize-lines: 20,28 cd pwd @@ -29,34 +31,37 @@ Gérer un emplacement pertinent machinectl list-images export NM=cnt0 ; machinectl image-status $NM - # AVEC super-privilège +*AVEC* super-privilège + +.. code-block:: bash + :linenos: # respectons-nous ls -rtlh /var/lib/machines - # ln -s CIBLE NOM_LIEN - export NM=cnt0 ; ln -s /Chemin_Absolu/$NM /var/lib/machines/$NM - Initialiser un système de fichier supplémentaire ------------------------------------------------ - *changer ``cnt0`` !* +.. warning:: + + changer ``cnt0`` ! :: $ help cd ; help pwd - $ pwd ; mkdir SiBesoin ; cd commeIlFaut **AVEC** super-privilège :: + pwd ; mkdir SiBesoin ; cd commeIlFaut + http_proxy=http://172.20.100.242:3142 mmdebstrap \ - bookworm . http://deb.debian.org/debian \ + trixie . http://deb.debian.org/debian \ --include=systemd-container,network-manager,sudo,ca-certificates \ --customize-hook='echo cnt0 > "$1"/etc/hostname' \ --customize-hook='echo 127.0.1.1 cnt0 >> "$1"/etc/hosts' -.. warning:: +.. tip:: Prendre connaissance des affichages