Compare commits
6 Commits
6e432c2a06
...
c0e8dcee6f
Author | SHA1 | Date | |
---|---|---|---|
|
c0e8dcee6f | ||
|
fd3ce3a149 | ||
|
9893221392 | ||
|
96b0448b84 | ||
|
9b2e3dd362 | ||
|
bf811616d2 |
@ -64,6 +64,8 @@ type Config struct {
|
||||
|
||||
Storage StorageConfig
|
||||
|
||||
Mounts []MountDef
|
||||
|
||||
Groups []GroupDef
|
||||
Users []UserDef
|
||||
|
||||
@ -94,6 +96,12 @@ type VolumeDef struct {
|
||||
}
|
||||
}
|
||||
|
||||
type MountDef struct {
|
||||
Dev string
|
||||
Path string
|
||||
Options string
|
||||
}
|
||||
|
||||
type GroupDef struct {
|
||||
Name string
|
||||
Gid int
|
||||
|
@ -8,6 +8,12 @@ import (
|
||||
|
||||
type Host struct {
|
||||
Name string
|
||||
|
||||
ClusterName string
|
||||
|
||||
Labels map[string]string
|
||||
Annotations map[string]string
|
||||
|
||||
MACs []string
|
||||
IPs []string
|
||||
|
||||
@ -17,6 +23,7 @@ type Host struct {
|
||||
Initrd string
|
||||
Versions map[string]string
|
||||
|
||||
BootstrapConfig string
|
||||
Config string
|
||||
}
|
||||
|
||||
@ -26,5 +33,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