Modification de Réinitialiser une machine Linux
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 39 : | Ligne 39 : | ||
{{LxTerm|user=root|/usr/bin/rm -f /etc/machine-id /etc/hostname|text=}} | {{LxTerm|user=root|/usr/bin/rm -f /etc/machine-id /etc/hostname|text=}} | ||
Le fichier personnalisé est {{Path|/etc/systemd/system/systemd-firstboot.service}} | Le fichier personnalisé est {{Path|/etc/systemd/system/systemd-firstboot.service}}<syntaxhighlight lang="ini"> | ||
<syntaxhighlight lang="ini"> | |||
# This file is part of systemd. | # This file is part of systemd. | ||
# | # | ||
Ligne 80 : | Ligne 79 : | ||
== Script == | == Script == | ||
< | <source lang="bash"> | ||
#!/usr/bin/env bash | #!/usr/bin/env bash | ||
Ligne 103 : | Ligne 102 : | ||
/usr/sbin/sys-unconfig | /usr/sbin/sys-unconfig | ||
</ | </source> | ||
[[Catégorie:Linux]] | [[Catégorie:Linux]] | ||
[[Catégorie:Déploiement]] | [[Catégorie:Déploiement]] |