bootv2: bootstrap, vpn
This commit is contained in:
23
config.go
23
config.go
@ -1,26 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
nconfig "novit.nc/direktil/pkg/config"
|
||||
nconfig "novit.tech/direktil/pkg/config"
|
||||
)
|
||||
|
||||
type configV1 struct {
|
||||
Layers []string `yaml:"layers"`
|
||||
Files []nconfig.FileDef `yaml:"files"`
|
||||
|
||||
// v2 handles more
|
||||
|
||||
RootUser struct {
|
||||
PasswordHash string `yaml:"password_hash"`
|
||||
AuthorizedKeys []string `yaml:"authorized_keys"`
|
||||
} `yaml:"root_user"`
|
||||
|
||||
Mounts []MountDef `yaml:"mounts"`
|
||||
}
|
||||
|
||||
type MountDef struct {
|
||||
Dev string
|
||||
Path string
|
||||
Options string
|
||||
Type string
|
||||
}
|
||||
type configV1 = nconfig.Config
|
||||
|
Reference in New Issue
Block a user