더북(TheBook)

8. 마지막으로 /etc/hosts 파일을 열어 컨트롤러 노드와 컴퓨트 노드 IP 정보를 다음과 같이 추가합니다.

root@compute:/etc/network# cd
root@compute:~# vi /etc/hosts
127.0.0.1 localhost
127.0.1.1 compute

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters

192.168.56.101 controller 192.168.56.102 compute

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.