introduce crypt.open

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

View File

@ -18,7 +18,20 @@ type Config struct {
Script string Script string
} }
LVM []LvmVG SSH struct {
Listen string
Keys struct {
DSA string
RSA string
ECDSA string
ED25519 string
}
}
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
Prefix string
Name string
}
type RaidConfig struct { type RaidConfig struct {
Mirrors int Mirrors int
Stripes int Stripes int