introduce crypt.open

This commit is contained in:
Mikaël Cluseau 2023-02-01 23:13:59 +01:00
parent 40403eca85
commit 30cd569860

View File

@ -18,7 +18,20 @@ type Config struct {
Script string Script string
} }
SSH struct {
Listen string
Keys struct {
DSA string
RSA string
ECDSA string
ED25519 string
}
}
LVM []LvmVG LVM []LvmVG
Crypt []CryptDev
Bootstrap Bootstrap Bootstrap Bootstrap
} }
@ -42,7 +55,6 @@ type LvmVG struct {
LVs []struct { LVs []struct {
Name string Name string
Crypt string
FS string FS string
Raid *RaidConfig Raid *RaidConfig
Size string Size string
@ -50,6 +62,12 @@ type LvmVG struct {
} }
} }
type CryptDev struct {
Dev string
Match string
Name string
}
type RaidConfig struct { type RaidConfig struct {
Mirrors int Mirrors int
Stripes int Stripes int