Merge pull request #185463 from phaer/patch-1

zfs: Make zpool available for zpool-expand-pools
This commit is contained in:
Bernardo Meurer 2022-08-09 15:48:18 -07:00 committed by GitHub
commit a26aa97276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -714,6 +714,8 @@ in
RemainAfterExit = true; RemainAfterExit = true;
}; };
path = lib.optionals (cfgExpandOnBoot == "all") [ cfgZfs.package ];
script = '' script = ''
for pool in ${poolListProvider}; do for pool in ${poolListProvider}; do
systemctl start --no-block "zpool-expand@$pool" systemctl start --no-block "zpool-expand@$pool"