Commit b70dd257 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue
Browse files

[trigger/service/dhcp] Réindentation du template

parent 2581ab79
......@@ -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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment