Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Fix etc/hosts configuration missplaced into etc/hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawleenc authored May 31, 2022
1 parent cce18fc commit ed5f3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archlinux_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ def main(pre_launch_info):
echo "127.0.0.1 localhost"
echo "::1 localhost"
echo "127.0.1.1 {system_info["hostname"]}.localdomain {system_info["hostname"]}"
}} >>/mnt/etc/hostname
}} >>/mnt/etc/hosts
''')
os.system('cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist')

Expand Down

0 comments on commit ed5f3ca

Please sign in to comment.