summaryrefslogtreecommitdiffstats
path: root/src/utils/postinstall.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 17:30:19 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 17:30:19 +0200
commit16251d42d3254ce0ab39d05768b1297c339891ee (patch)
treebc85a055162823b2328f647c3a705b38208f2d27 /src/utils/postinstall.py
parentfd64b84bcc931c4ba432f33d275566abec1132f7 (diff)
postinstall: typo in maximum win hostname error
s/nor/not
Diffstat (limited to 'src/utils/postinstall.py')
-rw-r--r--src/utils/postinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/postinstall.py b/src/utils/postinstall.py
index a043ae8..c59d497 100644
--- a/src/utils/postinstall.py
+++ b/src/utils/postinstall.py
@@ -26,7 +26,7 @@ def set_windows_hostname(disk, partition, name):
logging.info(f'Setting Windows hostname to {name}')
if len(name) > 15:
- logging.warning(f'Windows does nor permit hostnames that exceed 15 characters. Truncating {name}')
+ logging.warning(f'Windows does not permit hostnames that exceed 15 characters. Truncating {name}')
name = name[0:15]
byte_name = name.encode(WINDOWS_HIVE_ENCODING)