diff options
author | Irina Gómez <irinagomez@us.es> | 2022-02-18 14:01:49 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2022-02-18 14:01:49 +0100 |
commit | 2150f018ce75fd14111a70ccce49e09c2c5affdd (patch) | |
tree | dd947cf6436bbad3eb6c3f7823eb80ead8a55830 /client | |
parent | 9ee2e4b51ac95ca82a27b85202a70b2c111a9751 (diff) |
#1069 ogBootMbrGeneric creates the necessary hard drive signature for Windows (UEFI).
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Boot.lib | 4 |
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 } |