Tâche #19004
Distribution EOLE - Scénario #18693: Traitement express MEN (4-6)
pb template samba4-vars.conf
Description
le template /usr/share/eole/creole/distrib/samba4-vars.conf
NOM_CARTE_NIC1='%%nom_carte_eth0'
génére NOM_CARTE_NIC1='[u'ens4']'
au lieu de NOM_CARTE_NIC1='ens4'
Dans les scripts d'instance Seth, cela plante la configuration. (l'instance ne signale pas l'erreur)
Associated revisions
samba4-vars.conf : utilisation de nom_zone à la place de nom_carte (multi)
Ref: #19004 @30m
History
#1 Updated by Klaas TJEBBES over 6 years ago
root@dc1:~# grep NIC /usr/share/eole/creole/distrib/samba4-vars.conf NOM_CARTE_NIC1='%%nom_carte_eth0' root@dc1:~# CreoleGet --list|grep -i nom_carte_eth0 nom_carte_eth0="ens4"
et pourtant...
root@dc1:~# grep NIC /etc/eole/samba4-vars.conf NOM_CARTE_NIC1='[u'ens4']'
La variable "nom_carte_eth0" est une multi (pour le bounding). CreoleGet ne renvoie pas les crochets mais une liste séparée par des espaces.
#2 Updated by Gilles Grandgérard over 6 years ago
pb en 2.6.0 et 2.6.1
#3 Updated by Joël Cuissinat over 6 years ago
Sur EOLE 2.6.1, il faut impérativement utiliser nom_zone_ethX (cf. demande de doc #15696).
Normalement, ça n'a pas (trop) bougé sur 2.6.0, donc si il y a un pb sur cette version, c'est peut-être autre chose...
#4 Updated by Joël Cuissinat over 6 years ago
- Status changed from Nouveau to En cours
#5 Updated by Joël Cuissinat over 6 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#6 Updated by Joël Cuissinat over 6 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
- Remaining (hours) changed from 1.0 to 0.15
Je confirme que l'utilisation de "%%nom_carte_eth0" sur EOLE 2.6.0 n'est pas problématique => correction uniquement sur EOLE 2.6.1
#7 Updated by Joël Cuissinat over 6 years ago
- Project changed from Distribution EOLE to EOLE AD DC
#8 Updated by Benjamin Bohard over 6 years ago
- Remaining (hours) changed from 0.15 to 0.0
#9 Updated by Benjamin Bohard over 6 years ago
- Status changed from Résolu to Fermé