Deduplicate /etc/hosts pirogue entries.
This commit is contained in:
parent
9ede6bb93f
commit
0dd2b1a2c9
@ -19,9 +19,7 @@ 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.0.1 pirogue" >> $MNT/etc/hosts
|
|
||||||
echo "127.0.0.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
echo "127.0.0.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||||
echo "::1 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
|
||||||
|
Loading…
Reference in New Issue
Block a user