localconfig: add labels and annotations to host

This commit is contained in:
Mikaël Cluseau 2019-12-11 13:08:16 +01:00
parent bf811616d2
commit 9b2e3dd362

View File

@ -10,6 +10,7 @@ type Host struct {
Name string Name string
Labels map[string]string Labels map[string]string
Annotations map[string]string
MACs []string MACs []string
IPs []string IPs []string
@ -29,5 +30,8 @@ func (h *Host) WriteHashDataTo(w io.Writer) error {
Initrd: h.Initrd, Initrd: h.Initrd,
Versions: h.Versions, Versions: h.Versions,
Config: h.Config, Config: h.Config,
Labels: map[string]string{},
Annotations: map[string]string{},
}) })
} }