feat: define container volumes as a structure
This commit is contained in:
parent
1a2929a1aa
commit
42be5161d8
@ -70,16 +70,18 @@ func ImagePath(sk config.KernelMask) string {
|
||||
return config.Dir("containers", sk.DistroType.String(), sk.DistroRelease)
|
||||
}
|
||||
|
||||
type Volumes struct {
|
||||
LibModules string
|
||||
UsrSrc string
|
||||
Boot string
|
||||
}
|
||||
|
||||
type Container struct {
|
||||
name string
|
||||
|
||||
timeout time.Duration
|
||||
|
||||
Volumes struct {
|
||||
LibModules string
|
||||
UsrSrc string
|
||||
Boot string
|
||||
}
|
||||
Volumes Volumes
|
||||
|
||||
// Additional arguments
|
||||
Args []string
|
||||
|
Loading…
Reference in New Issue
Block a user