Tâche #25613
Scénario #25599: Revoir la gestion du mode "DHCP" en 2.7
Gérer manuellement si /etc/resolv.conf est un lien symbolique ou non
Start date:
10/19/2018
Due date:
% Done:
100%
Estimated time:
3.00 h
Remaining (hours):
0.0
Description
Un script pre-template ajoute ou supprime le lien symbolique /etc/resolv.conf
en fonction de la configuration DHCP et DNS.
Associated revisions
/etc/resolv.conf must be a symlink when no DNS server is configured
- dicos/00_common.xml: new variable “test_activer_resolvconf_template”
to check if the “/etc/resolv.conf” template need to be processed.
- pretemplate/00-resolvconf: manage “/etc/resolv.conf” in regards to
the value of “test_activer_resolvconf_template”.
Ref: #25613
Check of emptiness of adresse_ip_dns in resolv.conf is useless
- tmpl/resolv.conf: remove extra if.
Ref: #25613
History
#1 Updated by Daniel Dehennin almost 5 years ago
- Status changed from Nouveau to En cours
#2 Updated by Daniel Dehennin almost 5 years ago
- Assigned To set to Daniel Dehennin
#3 Updated by Daniel Dehennin almost 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 3.0 to 0.25
#4 Updated by Scrum Master almost 5 years ago
- Status changed from En cours to Résolu
#5 Updated by Laurent Flori almost 5 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0