Public bug reported: Current definition of zpool_create doesn't allow to pass additional arguments to zpool create:
[curtin/block/zfs.py] def zpool_create(poolname, vdevs, mountpoint=None, altroot=None, pool_properties=None, zfs_properties=None): then further in the code, "options" is a list of hardcoded options. There are cases where we want to pass additional options. For exemple with GRUB on zfs we want to disable all the features with '-d' then enabling specific features supported by GRUB. The number of options is rather limited so it could be done generically by allowing to pass any option or just add a property to the yaml schema to disable all the features. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: curtin (not installed) ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1 Uname: Linux 5.0.0-8-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.10-0ubuntu26 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Apr 9 08:34:30 2019 InstallationDate: Installed on 2014-07-15 (1728 days ago) InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520) SourcePackage: curtin UpgradeStatus: Upgraded to disco on 2018-03-24 (380 days ago) ** Affects: curtin (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco ** Summary changed: - zfs: Cannot pass addition arguments to zpool create + zfs: Cannot pass additional arguments to zpool create -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1823848 Title: zfs: Cannot pass additional arguments to zpool create To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1823848/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs