index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:04:47 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:04:47 +0200 |
commit | 323af39ed57191747604b64d1c6ed6a46719c84f (patch) | |
tree | 79cd02e39a04ca050cf2e39847511d2e69496e1a /archinstall/lib/installer.py | |
parent | 6744d7ac1bc37bc4db3b1cbf6e0562fa6ae2e0ff (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 4 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 3ab0adc2..e69f25bf 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -5,6 +5,7 @@ from .disk import * from .general import * from .user_interaction import * from .profiles import Profile +from .mirrors import * class Installer(): """ @@ -82,6 +83,9 @@ class Installer(): else: log(f'Could not sync mirrors: {sync_mirrors.exit_code}') + def set_mirrors(self, mirrors): + return use_mirrors(mirrors, destination=f'{self.mountpoint}/etc/pacman.d/mirrorlist') + def genfstab(self, flags='-Pu'): o = b''.join(sys_command(f'/usr/bin/genfstab -pU {self.mountpoint} >> {self.mountpoint}/etc/fstab')) if not os.path.isfile(f'{self.mountpoint}/etc/fstab'): |