Compare commits

..

No commits in common. "c9c9e983593e1895ad7c919bafd73d7d7a5bbf0a" and "7cefe8ff43602539507ef1af25cdc574832a77a9" have entirely different histories.

2 changed files with 8 additions and 14 deletions

View File

@ -5,12 +5,6 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.19.2] - 2025-06-24
### Changed
- Write a mark for ogboot on linux only
## [0.19.1] - 2025-06-23
### Fixed

View File

@ -55,6 +55,14 @@ if not FileSystemLib.ogIsWritable (disk, par):
# Nombre del cliente.
host = NetLib.ogGetHostname()
# Marca para arranque.
boot_mark_file = f'/Part-{int(disk):02d}-{int(par):02d}'
try:
open (boot_mark_file, 'w').close()
except Exception as e:
print (f'Failed to create boot mark: {e}')
sys.exit (1)
# Post-configuración personalizada para cada tipo de sistema operativo.
ostype = InventoryLib.ogGetOsType (disk, par)
if 'Windows' == ostype:
@ -80,14 +88,6 @@ if 'Windows' == ostype:
PostConfLib.ogUninstallWindowsClient (disk, par, 'postconf.cmd')
elif 'Linux' == ostype:
# Marca para arranque.
boot_mark_file = f'/Part-{int(disk):02d}-{int(par):02d}'
try:
open (boot_mark_file, 'w').close()
except Exception as e:
print (f'Failed to create boot mark: {e}')
sys.exit (1)
BootLib.ogConfigureFstab (disk, par) # Configuro fstab: particion de Swap y si es UEFI además la partición EFI.
if InventoryLib.ogIsEfiActive(): # Si es UEFI instalo Grub en la partición EFI
esp = DiskLib.ogGetEsp()