localconfig: add labels and annotations to host
This commit is contained in:
parent
bf811616d2
commit
9b2e3dd362
@ -9,7 +9,8 @@ import (
|
|||||||
type Host struct {
|
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{},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user