1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

Merge pull request #2857 from stgraber/main

incusd/storage/zfs: Set IncusOS storage usage property
This commit is contained in:
Serge Hallyn
2026-01-24 08:56:21 -06:00
committed by GitHub

View File

@@ -351,6 +351,13 @@ func (d *zfs) Create() error {
if err != nil {
return err
}
if d.state.OS.IncusOS != nil {
err := d.setDatasetProperties(d.config["zfs.pool_name"], "incusos:use=incus")
if err != nil {
return err
}
}
}
} else {
// Ensure that the pool is available.