update config to support more vhd features down the road

This commit is contained in:
DaneEveritt
2022-10-29 12:40:49 -07:00
parent 99cb61a6ef
commit ff4b7655c8
6 changed files with 41 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ func New(uuid string, size int64, denylist []string) *Filesystem {
denylist: ignore.CompileIgnoreLines(denylist...),
}
if config.Get().System.UseVirtualDisks {
if vhd.Enabled() {
fs.vhd = vhd.New(size, vhd.DiskPath(uuid), fs.root)
}