trying on openvz with centos 7 64 bit
etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
xxx.zzz.ccc.vvv ns2.domain.net ns2
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Code:
hostname -I|awk '{print $1}'
127.0.0.1
its solve when we change it as
Code:
hostname -I | awk '{ print $2 }'
hostname command result
for firewall rule, we have to add manually. log install say firewalld not running when adding the rule. in case firewalld not running well
but its ok, we still have solution to solve this isue.
regards.