From 5140dba6f4ba2dacb332d61d0ef969fab307cdb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 29 Nov 2015 18:30:38 +0000 Subject: [PATCH] generate ula zone --- hooks/update-zone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hooks/update-zone b/hooks/update-zone index 04d33b4..87cf3c5 100755 --- a/hooks/update-zone +++ b/hooks/update-zone @@ -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"] || {}