尝试使用本地镜像进行 PXE 安装 14.04,但安装不断接触规范 IP

尝试使用本地镜像进行 PXE 安装 14.04,但安装不断接触规范 IP

我有一个使用 apt-mirror 设置的本地镜像,我的/etc/apt/mirror.list文件包含在这篇文章的底部。

尽管我已经定义了所有我能想到的 repo,但由于某种原因,我的虚拟机在安装某些软件包时仍然会尝试联系规范 IP。

我还没有启动 wireshark,因为我想看看在我开始挖掘日志之前社区是否可以提供见解。

在阻止所有“wan”流量后,我的 pxe 安装停止了,并且我可以看到对如下 IP 的拒绝91.189.88.153:80

有人能看看我的 mirror.list 并告诉我可能缺少哪些包吗?

如果你好奇的话,我的镜像目前在网上开放https://mirror.devita.co,一旦这个问题解决,我计划关闭它。

镜像列表

#trusty-updates
deb-amd64 http://mirrors.digitalocean.com/ubuntu/ trusty-updates main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-i386 http://mirrors.digitalocean.com/ubuntu/ trusty-updates main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-updates main restricted universe multiverse
#trusty
deb-amd64 http://mirrors.digitalocean.com/ubuntu/ trusty main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-i386 http://mirrors.digitalocean.com/ubuntu/ trusty main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty main restricted universe multiverse

#trusty-backports
deb-amd64 http://mirrors.digitalocean.com/ubuntu/ trusty-backports main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-i386 http://mirrors.digitalocean.com/ubuntu/ trusty-backports main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-backports main restricted universe multiverse

#trusty-security
deb-amd64 http://mirrors.digitalocean.com/ubuntu trusty-security main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-i386 http://mirrors.digitalocean.com/ubuntu trusty-security main main/debian-installer restricted restricted/debian-installer  universe universe/debian-installer multiverse multiverse/debian-installer
deb-src http://mirrors.digitalocean.com/ubuntu trusty-security main restricted universe multiverse

deb http://deb.theforeman.org/ trusty 1.6
deb http://deb.theforeman.org/ plugins 1.6
deb http://repo.zabbix.com/zabbix/2.2/ubuntu/ trusty main
deb-src http://repo.zabbix.com/zabbix/2.2/ubuntu/ trusty main
deb http://packages.elasticsearch.org/logstashforwarder/debian stable main

clean http://packages.elasticsearch.org
clean http://deb.theforeman.org
clean http://repo.zabbix.com
clean http://mirrors.digitalocean.com

答案1

您看到的规范 IP 可能是security.ubuntu.com。您可以使用以下预置键设置此镜像的位置:

d-i apt-setup/security_protocol string http
d-i apt-setup/security_host string security.ubuntu.com
d-i apt-setup/security_path string /ubuntu

相关内容