distro/*: move mount point allow list to disk
All distributions have exactly the same list of allowed mountpoint customization points. Therefore move it to `disk` and share it between all distros.
This commit is contained in:
parent
2b03a839f0
commit
1ca2efe6cf
5 changed files with 8 additions and 20 deletions
|
|
@ -54,6 +54,10 @@ const (
|
|||
XBootLDRPartitionGUID = "BC13C2FF-59E6-4262-A352-B275FD6F7172"
|
||||
)
|
||||
|
||||
var MountpointAllowList = []string{
|
||||
"/", "/var", "/opt", "/srv", "/usr", "/app", "/data", "/home", "/tmp",
|
||||
}
|
||||
|
||||
// Entity is the base interface for all disk-related entities.
|
||||
type Entity interface {
|
||||
// IsContainer indicates if the implementing type can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue