From 84bda85c05aa6aa8af9175d7910db01f5744c676 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 27 May 2025 12:28:48 +0200 Subject: [PATCH] fix id cut --- tc_clone_nuc_nv_efi.sh | 2 +- tc_clone_nuc_sda_efi.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tc_clone_nuc_nv_efi.sh b/tc_clone_nuc_nv_efi.sh index ec0c237..0d5a962 100755 --- a/tc_clone_nuc_nv_efi.sh +++ b/tc_clone_nuc_nv_efi.sh @@ -126,7 +126,7 @@ echo "UUID=$swap_uuid none swap sw 0 0" >> $CLONE/etc/fstab echo "RESUME=UUID=$swap_uuid" > $CLONE/etc/initramfs-tools/conf.d/resume echo $ID > $CLONE/etc/hostname -echo $ID | cut -d "-" -f 1 > $CLONE/etc/tc-id +echo $ID | cut -d "-" -f 2 > $CLONE/etc/tc-id # CHROOT mount --bind /sys $CLONE/sys diff --git a/tc_clone_nuc_sda_efi.sh b/tc_clone_nuc_sda_efi.sh index fc9552d..cde0c4c 100755 --- a/tc_clone_nuc_sda_efi.sh +++ b/tc_clone_nuc_sda_efi.sh @@ -120,7 +120,7 @@ echo "UUID=$swap_uuid none swap sw 0 0" >> $CLONE/etc/fstab echo "RESUME=UUID=$swap_uuid" > $CLONE/etc/initramfs-tools/conf.d/resume echo $ID > $CLONE/etc/hostname -echo $ID | cut -d "-" -f 1 > $CLONE/etc/tc-id +echo $ID | cut -d "-" -f 2 > $CLONE/etc/tc-id # CHROOT mount --bind /sys $CLONE/sys -- 2.39.5