[trigger/service/dhcp] Réindentation du template
This commit is contained in:
parent
2581ab7964
commit
b70dd2577d
1 changed files with 6 additions and 6 deletions
|
@ -87,12 +87,12 @@ class Dhcp(BasicService):
|
||||||
elif body == True:
|
elif body == True:
|
||||||
hosts = {}
|
hosts = {}
|
||||||
host_template = """
|
host_template = """
|
||||||
host %(nom)s {
|
host %(nom)s {
|
||||||
hardware ethernet %(mac)s;
|
hardware ethernet %(mac)s;
|
||||||
fixed-address %(ip)s;
|
fixed-address %(ip)s;
|
||||||
option host-name "%(host)s";
|
option host-name "%(host)s";
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
affichage.prettyDoin("Chargement des machines", "...")
|
affichage.prettyDoin("Chargement des machines", "...")
|
||||||
machines = cls.ldap_conn.allMachines()
|
machines = cls.ldap_conn.allMachines()
|
||||||
affichage.prettyDoin("Chargement des machines", "Ok")
|
affichage.prettyDoin("Chargement des machines", "Ok")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue