adminset icon indicating copy to clipboard operation
adminset copied to clipboard

centos7.4获取到的ip一直是127.0.0.1

Open linvaux opened this issue 7 years ago • 2 comments

centos7.4获取到的ip一直是127.0.0.1

linvaux avatar Nov 06 '18 11:11 linvaux

adminset程序依赖主机名,所以被控机器、客户机,都需要设置主机名,主机名唯一,并且可以被解析 请在 /etc/hosts 或是DNS中加入主机名的解析。

guohongze avatar Nov 06 '18 14:11 guohongze

不是说centos7可以主动获取ip嘛,所以我就没改,然后昨天看了下adminset_agent.py还是根据hostname获取IP的。谢谢解答,。我改了主机名试试

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用


发件人: guohongze [email protected] 发送时间: Tuesday, November 6, 2018 10:14:46 PM 收件人: guohongze/adminset 抄送: linvaux; Author 主题: Re: [guohongze/adminset] centos7.4获取到的ip一直是127.0.0.1 (#77)

adminset程序依赖主机名,所以被控机器、客户机,都需要设置主机名,主机名唯一,并且可以被解析 请在 /etc/hosts 或是DNS中加入主机名的解析。

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/guohongze/adminset/issues/77#issuecomment-436266714, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgZwqRvNEa3U85yUmc5Rs8NupXcZ2Q0Jks5usZlVgaJpZM4YQRM-.

linvaux avatar Nov 07 '18 02:11 linvaux