Changeset 10286 in genesis for tools/gformat.py


Ignore:
Timestamp:
Mar 27, 2012, 8:56:06 AM (13 years ago)
Author:
rick
Message:

There is a reason why this has an unit-test option.

Fixing bug introduced with autogen_ cleanups at r10281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10281 r10286  
    301301dhcp-authoritative
    302302dhcp-fqdn
    303 domain=dhcp.%(nodename_lower)s.%(domain)s
     303domain=dhcp.%(autogen_nodename_lower)s.%(autogen_domain)s
    304304domain-needed
    305305expand-hosts
     
    346346  output = generate_header("#");
    347347  output += Template("""\
    348 hostname='{{ autogen_fqdn }}.{{ domain }}'
     348hostname='{{ autogen_fqdn }}.{{ autogen_domain }}'
    349349location='{{ location }}'
    350350nodetype="{{ nodetype }}"
Note: See TracChangeset for help on using the changeset viewer.