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

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