summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2022-02-18 14:01:49 +0100
committerIrina Gómez <irinagomez@us.es>2022-02-18 14:01:49 +0100
commit2150f018ce75fd14111a70ccce49e09c2c5affdd (patch)
treedd947cf6436bbad3eb6c3f7823eb80ead8a55830 /client
parent9ee2e4b51ac95ca82a27b85202a70b2c111a9751 (diff)
#1069 ogBootMbrGeneric creates the necessary hard drive signature for Windows (UEFI).
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Boot.lib4
1 files changed, 4 insertions, 0 deletions
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
}