Assign pirogue.local and pirogue to 127.0.1.1
It's pretty standard to have 127.0.0.1 match localhost while the actual machine's name (FQDN and hostname) matches 127.0.1.1 instead. We would be happy to be told if something similar exists for IPv6!
This commit is contained in:
@ -19,7 +19,7 @@ toast_me() {
|
||||
rm -f $MNT/etc/ssh/ssh_host_*
|
||||
chroot $MNT systemctl enable ssh
|
||||
# Change the hostname
|
||||
echo "127.0.0.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||
echo "127.0.1.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||
echo "::1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||
echo "pirogue" > $MNT/etc/hostname
|
||||
# Add PTS PPA
|
||||
|
Reference in New Issue
Block a user