mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-22 14:58:32 +00:00
removed double quoting from zpool statements
This commit is contained in:
@@ -541,18 +541,20 @@ echo "======= create zfs pools and datasets =========="
|
||||
pools_mirror_option=
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
zpool create \
|
||||
"$v_bpool_tweaks" -O canmount=off -O devices=off \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
-O mountpoint=/boot -R $c_zfs_mount_dir -f \
|
||||
"$v_bpool_name" "$pools_mirror_option" "${bpool_disks_partitions[@]}"
|
||||
$v_bpool_name $pools_mirror_option "${bpool_disks_partitions[@]}"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo -n "$v_passphrase" | zpool create \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
"$v_rpool_tweaks" \
|
||||
$v_rpool_tweaks \
|
||||
"${encryption_options[@]}" \
|
||||
-O mountpoint=/ -R $c_zfs_mount_dir -f \
|
||||
"$v_rpool_name $pools_mirror_option" "${rpool_disks_partitions[@]}"
|
||||
$v_rpool_name $pools_mirror_option "${rpool_disks_partitions[@]}"
|
||||
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_rpool_name/ROOT"
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_bpool_name/BOOT"
|
||||
|
||||
@@ -509,18 +509,20 @@ echo "======= create zfs pools and datasets =========="
|
||||
pools_mirror_option=
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
zpool create \
|
||||
"$v_bpool_tweaks" -O canmount=off -O devices=off \
|
||||
$v_bpool_tweaks -O canmount=off -O devices=off \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
-O mountpoint=/boot -R $c_zfs_mount_dir -f \
|
||||
"$v_bpool_name" "$pools_mirror_option" "${bpool_disks_partitions[@]}"
|
||||
$v_bpool_name $pools_mirror_option "${bpool_disks_partitions[@]}"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo -n "$v_passphrase" | zpool create \
|
||||
"$v_rpool_tweaks" \
|
||||
$v_rpool_tweaks \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
"${encryption_options[@]}" \
|
||||
-O mountpoint=/ -R $c_zfs_mount_dir -f \
|
||||
"$v_rpool_name" "$pools_mirror_option" "${rpool_disks_partitions[@]}"
|
||||
$v_rpool_name $pools_mirror_option "${rpool_disks_partitions[@]}"
|
||||
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_rpool_name/ROOT"
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_bpool_name/BOOT"
|
||||
|
||||
@@ -509,18 +509,20 @@ echo "======= create zfs pools and datasets =========="
|
||||
pools_mirror_option=
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
zpool create \
|
||||
"$v_bpool_tweaks" -O canmount=off -O devices=off \
|
||||
$v_bpool_tweaks -O canmount=off -O devices=off \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
-O mountpoint=/boot -R $c_zfs_mount_dir -f \
|
||||
"$v_bpool_name" "$pools_mirror_option" "${bpool_disks_partitions[@]}"
|
||||
$v_bpool_name $pools_mirror_option "${bpool_disks_partitions[@]}"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo -n "$v_passphrase" | zpool create \
|
||||
"$v_rpool_tweaks" \
|
||||
$v_rpool_tweaks \
|
||||
-o cachefile=/etc/zfs/zpool.cache \
|
||||
"${encryption_options[@]}" \
|
||||
-O mountpoint=/ -R $c_zfs_mount_dir -f \
|
||||
"$v_rpool_name" "$pools_mirror_option" "${rpool_disks_partitions[@]}"
|
||||
$v_rpool_name $pools_mirror_option "${rpool_disks_partitions[@]}"
|
||||
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_rpool_name/ROOT"
|
||||
zfs create -o canmount=off -o mountpoint=none "$v_bpool_name/BOOT"
|
||||
|
||||
Reference in New Issue
Block a user