Align /etc/hosts entries.

No functional changes.
This commit is contained in:
Cyril Brulebois 2024-07-20 08:08:40 +02:00
parent 1c9b6b2bef
commit 7282fa4fa1

View File

@ -19,8 +19,8 @@ toast_me() {
rm -f $MNT/etc/ssh/ssh_host_* rm -f $MNT/etc/ssh/ssh_host_*
chroot $MNT systemctl enable ssh chroot $MNT systemctl enable ssh
# Change the hostname # Change the hostname
echo "127.0.1.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 "::1 pirogue.local pirogue" >> $MNT/etc/hosts
echo "pirogue" > $MNT/etc/hostname echo "pirogue" > $MNT/etc/hostname
# Add PTS PPA # Add PTS PPA
chroot $MNT wget -O /etc/apt/sources.list.d/pirogue.list https://pts-project.org/debian-12/pirogue.list chroot $MNT wget -O /etc/apt/sources.list.d/pirogue.list https://pts-project.org/debian-12/pirogue.list