From: Guillaume Pellerin Date: Mon, 26 May 2025 06:03:22 +0000 (+0200) Subject: add tc-id: X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=cef4df5b315603375942ee37718e91d17d64aeb6;p=clone-me.git add tc-id: --- diff --git a/tc_clone_nuc_sda_efi.sh b/tc_clone_nuc_sda_efi.sh index f860f3e..9fc01fa 100755 --- a/tc_clone_nuc_sda_efi.sh +++ b/tc_clone_nuc_sda_efi.sh @@ -120,6 +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/hostname # CHROOT mount --bind /sys $CLONE/sys