diff options
| author | Blake Romero <blake@blkrom.com> | 2024-09-26 11:15:56 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-09-26 11:15:56 +0100 |
| commit | db04cf948e6cc80b0de9af2d7248a5c38e63fa33 (patch) | |
| tree | 2db256c5fedbb300d3715be90d675ddcecb292af /install.sh | |
| parent | 8b75a486d76c5b1ad9f28e656042145cd3fe1f0d (diff) | |
Add localhost setup
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -272,6 +272,13 @@ echo "export EDITOR=vim" >> /mnt/etc/profile # Set hostname echo "${hostname}" > /mnt/etc/hostname +# Setup localhost +tee -a /mnt/etc/hosts <<EOF +127.0.0.1 localhost +::1 localhost +127.0.1.1 ${hostname}.localdomain ${hostname} +EOF + # Set root password artix-chroot /mnt bash -c "echo root:artix | chpasswd" |
