build-split-zone: write to correct directory
This commit is contained in:
parent
4db49de2d9
commit
18e8a6e39f
@ -41,9 +41,9 @@ template = Lxc::Template.new(template_path)
|
|||||||
serial = Time.new.to_i
|
serial = Time.new.to_i
|
||||||
resolver = Resolver.new
|
resolver = Resolver.new
|
||||||
zones = [
|
zones = [
|
||||||
["zones/higgsboson.tk.zone", :pub],
|
[Lxc::CONFIG_ROOT.join("zones/higgsboson.tk.zone"), :pub],
|
||||||
["zones/internal-eve.higgsboson.tk.zone", :eve],
|
[Lxc::CONFIG_ROOT.join("zones/internal-eve.higgsboson.tk.zone"), :eve],
|
||||||
["zones/internal-eva.higgsboson.tk.zone", :eva],
|
[Lxc::CONFIG_ROOT.join("zones/internal-eva.higgsboson.tk.zone"), :eva],
|
||||||
]
|
]
|
||||||
zones.each do |zone, type|
|
zones.each do |zone, type|
|
||||||
template.write(zone, resolver: resolver, serial: serial, type: type)
|
template.write(zone, resolver: resolver, serial: serial, type: type)
|
||||||
|
Loading…
Reference in New Issue
Block a user