Added missing compress option spec to create_zfs_centric_layout

This commit is contained in:
oddlama 2021-06-02 17:21:02 +02:00
parent 746137e4e4
commit b51f8daae9
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ function create_single_disk_layout() {
# encrypt=[true|false] Encrypt zfs pool. Defaults to false if not given. # encrypt=[true|false] Encrypt zfs pool. Defaults to false if not given.
# pool_type=[stripe|mirror] Select raid type. Defaults to stripe. # pool_type=[stripe|mirror] Select raid type. Defaults to stripe.
function create_zfs_centric_layout() { function create_zfs_centric_layout() {
local known_arguments=('+swap' '?type' '?pool_type' '?encrypt') local known_arguments=('+swap' '?type' '?pool_type' '?encrypt' '?compress')
local extra_arguments=() local extra_arguments=()
declare -A arguments; parse_arguments "$@" declare -A arguments; parse_arguments "$@"