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