Skip to content

Commit 75b6bba

Browse files
authored
Fix regression for NTP sync (#3294)
1 parent d3330ff commit 75b6bba

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

archinstall/lib/args.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ArchConfig:
6060
audio_config: AudioConfiguration | None = None
6161
hostname: str = 'archlinux'
6262
kernels: list[str] = field(default_factory=lambda: ['linux'])
63-
ntp: bool = False
63+
ntp: bool = True
6464
packages: list[str] = field(default_factory=list)
6565
parallel_downloads: int = 0
6666
swap: bool = True
@@ -176,8 +176,7 @@ def from_config(cls, args_config: dict[str, Any]) -> 'ArchConfig':
176176
if kernels := args_config.get('kernels', []):
177177
arch_config.kernels = kernels
178178

179-
if ntp := args_config.get('ntp', False):
180-
arch_config.ntp = ntp
179+
arch_config.ntp = args_config.get('ntp', True)
181180

182181
if packages := args_config.get('packages', []):
183182
arch_config.packages = packages

0 commit comments

Comments
 (0)