mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
incusd/storage/zfs: Set IncusOS storage usage property
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user