]> git.parisson.com Git - clone-me.git/commitdiff
fix tc-id
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 27 May 2025 09:54:48 +0000 (11:54 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 27 May 2025 09:54:48 +0000 (11:54 +0200)
tc_clone_nuc_sda_efi.sh

index 9fc01fa5ba3e818409884b8011e635c609693f01..fc9552d869c9f1c15bbb7f49b43082c674c371db 100755 (executable)
@@ -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/hostname
+echo $ID | cut -d "-" -f 1 > $CLONE/etc/tc-id
 
 # CHROOT
 mount --bind /sys $CLONE/sys