bugfix-for-including-loopback-addr-of-saltstack

少于 1 分钟读完

addrs.discard(‘127.0.0.1’) already remove 127.0.0.1 out of addrs, and salt.utils.network.ip_addrs will ignore 127.0.0.1 by default, so the code of line 589 if ipv4 in addrs will not works forever, because 127.0.0.1 will never be in addrs.

refer to: https://github.com/saltstack/salt/issues/36669

留下评论

您的电子邮箱地址并不会被展示。请填写标记为必须的字段。 *

正在加载...