Reviewed-on: #64fix-path 0.19.0
commit
13b262d8f7
|
@ -5,6 +5,12 @@ 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.0] - 2025-06-23
|
||||
|
||||
### Changed
|
||||
|
||||
- Write a mark for ogboot
|
||||
|
||||
## [0.18.2] - 2025-06-19
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue