add static hostnames for virtual machines
This commit is contained in:
parent
d53ac8d522
commit
312b04e3bd
1 changed files with 18 additions and 0 deletions
18
hosts
Normal file
18
hosts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Host Database
|
||||
#
|
||||
# This file should contain the addresses and aliases for local hosts that
|
||||
# share this file. Replace 'my.domain' below with the domainname of your
|
||||
# machine.
|
||||
#
|
||||
# In the presence of the domain name service or NIS, this file may
|
||||
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
|
||||
#
|
||||
#
|
||||
::1 localhost localhost.my.domain
|
||||
127.0.0.1 localhost localhost.my.domain
|
||||
127.0.0.1 asus-laptop asus-laptop.localdomain
|
||||
|
||||
10.0.0.2 srv-master
|
||||
10.0.0.3 srv-slave1
|
||||
10.0.0.4 srv-slave2
|
||||
Loading…
Add table
Reference in a new issue