From 1dfebbc35a8f4f5c6558837ecc931519960843ec Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 09:35:47 +0100 Subject: [PATCH] raid_create --- sh/fs.sh | 2 +- sh/rescue/hetzner.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/fs.sh b/sh/fs.sh index 46fe414..fb3db50 100644 --- a/sh/fs.sh +++ b/sh/fs.sh @@ -56,7 +56,7 @@ fs_make_fat() { fi } -fs_raid_create() { +sh_fs_raid_create() { if [ -n "${4}" ]; then local name="${1}" local uuid="${2}" diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index 3e95ba3..f5283f2 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -64,7 +64,7 @@ rescue_wipe_0_init_hetzner_8_8() { members="${members} ${device}2" done # shellcheck disable=SC2086 - fs_raid_create \ + sh_fs_raid_create \ "boot" "00000000:00000000:00000000:00000002" ${members} # fs_make_btrfs "/dev/md/boot" "boot" \ @@ -89,7 +89,7 @@ rescue_wipe_0_init_hetzner_8_8() { members="${members} ${device}1" done # shellcheck disable=SC2086 - fs_raid_create \ + sh_fs_raid_create \ "crypt" "00000000:00000000:00000000:00000001" ${members} # encrypt sh_fs_luks_format "${passphrase}" "/dev/md/crypt"