From: Guillaume Pellerin Date: Tue, 27 May 2025 10:28:48 +0000 (+0200) Subject: fix id cut X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=84bda85c05aa6aa8af9175d7910db01f5744c676;p=clone-me.git fix id cut --- 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