generate ula zone

This commit is contained in:
Jörg Thalheim 2015-11-29 18:30:38 +00:00
parent d9e3924731
commit 5140dba6f4

View File

@ -20,6 +20,10 @@ def main
Lxc::RdnsZone.new(registry.data, subnet).write_zone_file(root_path)
end
if subnet = registry.data["zone"]["ula_subnet"]
Lxc::RdnsZone.new(registry.data, subnet).write_zone_file(root_path)
end
root_path = Pathname.new(File.expand_path("../..", __FILE__))
zone_template = Lxc::Template.new(root_path.join("hooks/templates/lxc-zone.erb"))
zone = registry.data["zone"] || {}