[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:
|
||||
hosts = {}
|
||||
host_template = """
|
||||
host %(nom)s {
|
||||
hardware ethernet %(mac)s;
|
||||
fixed-address %(ip)s;
|
||||
option host-name "%(host)s";
|
||||
}
|
||||
"""
|
||||
host %(nom)s {
|
||||
hardware ethernet %(mac)s;
|
||||
fixed-address %(ip)s;
|
||||
option host-name "%(host)s";
|
||||
}
|
||||
"""
|
||||
affichage.prettyDoin("Chargement des machines", "...")
|
||||
machines = cls.ldap_conn.allMachines()
|
||||
affichage.prettyDoin("Chargement des machines", "Ok")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue