]> git.parisson.com Git - clone-me.git/commitdiff
add tc-id to nv
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 27 May 2025 09:55:06 +0000 (11:55 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 27 May 2025 09:55:06 +0000 (11:55 +0200)
tc_clone_nuc_nv_efi.sh

index 9ba63bee1c31987753563f138ddda90d86cb7b19..ec0c2373518cc28aae57393fa61ee6ebdbbf1949 100755 (executable)
@@ -126,6 +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
 
 # CHROOT
 mount --bind /sys $CLONE/sys