There is no reason to show Security module until we have OpenScap adopted for our distributional changed/i9/anaconda-34.25.1.14-1.el9.inferit.1
parent
da7df273c4
commit
23a0c6c303
@ -0,0 +1,55 @@
|
||||
From 60164bb113584e4cfd8a419735205398caa6b81d Mon Sep 17 00:00:00 2001
|
||||
From: Eugene Zamriy <ezamriy@msvsphere.ru>
|
||||
Date: Mon, 3 Apr 2023 21:38:38 +0300
|
||||
Subject: [PATCH 7/7] Set default timezone to Europe/Moscow
|
||||
|
||||
---
|
||||
pyanaconda/modules/timezone/installation.py | 4 ++--
|
||||
pyanaconda/modules/timezone/timezone.py | 2 +-
|
||||
pyanaconda/ui/gui/spokes/datetime_spoke.py | 2 +-
|
||||
3 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/pyanaconda/modules/timezone/installation.py b/pyanaconda/modules/timezone/installation.py
|
||||
index d6dfd7b..984646d 100644
|
||||
--- a/pyanaconda/modules/timezone/installation.py
|
||||
+++ b/pyanaconda/modules/timezone/installation.py
|
||||
@@ -63,8 +63,8 @@ class ConfigureTimezoneTask(Task):
|
||||
if not is_valid_timezone(self._timezone):
|
||||
# this should never happen, but for pity's sake
|
||||
log.warning("Timezone %s set in kickstart is not valid, "
|
||||
- "falling back to default (America/New_York).", self._timezone)
|
||||
- self._timezone = "America/New_York"
|
||||
+ "falling back to default (Europe/Moscow).", self._timezone)
|
||||
+ self._timezone = "Europe/Moscow"
|
||||
|
||||
def _make_timezone_symlink(self):
|
||||
"""Create the symlink that actually defines timezone."""
|
||||
diff --git a/pyanaconda/modules/timezone/timezone.py b/pyanaconda/modules/timezone/timezone.py
|
||||
index b5d5f7b..1651e04 100644
|
||||
--- a/pyanaconda/modules/timezone/timezone.py
|
||||
+++ b/pyanaconda/modules/timezone/timezone.py
|
||||
@@ -44,7 +44,7 @@ class TimezoneService(KickstartService):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.timezone_changed = Signal()
|
||||
- self._timezone = "America/New_York"
|
||||
+ self._timezone = "Europe/Moscow"
|
||||
|
||||
self.is_utc_changed = Signal()
|
||||
self._is_utc = False
|
||||
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
|
||||
index 1129036..3b253f7 100644
|
||||
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
|
||||
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
|
||||
@@ -69,7 +69,7 @@ SERVER_WORKING = 3
|
||||
SERVER_USE = 4
|
||||
SERVER_OBJECT = 5
|
||||
|
||||
-DEFAULT_TZ = "America/New_York"
|
||||
+DEFAULT_TZ = "Europe/Moscow"
|
||||
|
||||
SPLIT_NUMBER_SUFFIX_RE = re.compile(r'([^0-9]*)([-+])([0-9]+)')
|
||||
|
||||
--
|
||||
2.39.2
|
||||
|
Loading…
Reference in new issue