From 2150f018ce75fd14111a70ccce49e09c2c5affdd Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Fri, 18 Feb 2022 14:01:49 +0100 Subject: #1069 ogBootMbrGeneric creates the necessary hard drive signature for Windows (UEFI). --- client/engine/Boot.lib | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index b5532190..44d8bcac 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -446,6 +446,10 @@ fi DISK="$(ogDiskToDev $1)" || return $? ms-sys -z -f $DISK ms-sys -s -f $DISK + +# Firma necesaria para Windows equipos UEFI +SIGNATURE=0x$(cat /proc/sys/kernel/random/uuid | cut -d '-' -f1) +ms-sys -S $SIGNATURE $DISK } -- cgit v1.2.3-18-g5258