From 86863ee1f083dbdadcb896734b319aa59a2707c4 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 3 Nov 2017 17:41:26 +0100 Subject: Some more deploy scripting and hard-coded tests --- nfs/scripts/image_deploy_I5456.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'nfs/scripts/image_deploy_I5456.sh') diff --git a/nfs/scripts/image_deploy_I5456.sh b/nfs/scripts/image_deploy_I5456.sh index b151af9..d0c8916 100644 --- a/nfs/scripts/image_deploy_I5456.sh +++ b/nfs/scripts/image_deploy_I5456.sh @@ -4,19 +4,18 @@ # $outdir is the also the current working dir, garanted to be empty and writable # Many cloning/partitioning tools are available for use, see make-boot-image.sh -echo_color white blue ">>> " "Restoring /dev/sda boot sectors" +echo_color white blue ">>> Restoring /dev/sda boot sectors" pigz -dc "$indir/sda-dd.gz" | dd of=/dev/sda count=2048 -echo_color white blue ">>> " "Detecting new partitions" +echo_color white blue ">>> Detecting new partitions" echo -e "w\nq\n" | fdisk /dev/sda -echo_color white blue ">>> " "Restoring /dev/sda1 NTFS BOOT" +echo_color white blue ">>> Restoring /dev/sda1 NTFS BOOT" pigz -dc "$indir/sda1-partclone.gz" | partclone.restore -o /dev/sda1 -echo_color white blue ">>> " "Restoring /dev/sda2 NTFS WINDOWS" +echo_color white blue ">>> Restoring /dev/sda2 NTFS WINDOWS" pigz -dc "$indir/sda2-partclone.gz" | partclone.restore -o /dev/sda2 -echo_color white blue ">>> " "Restoring /dev/sda3 EXT4 LINUX" +echo_color white blue ">>> Restoring /dev/sda3 EXT4 LINUX" pigz -dc "$indir/sda3-partclone.gz" | partclone.restore -o /dev/sda3 - -- cgit v1.2.3