Ubuntu Preseed不使用本地镜像

我有一个完整的Ubuntu镜像位于服务器上

http://leelah.home.ianwilson.org/ubuntu/

在我的preseed.cfg文件中,我有以下的configurationselect我的国家镜像:

 di mirror/country string manual di mirror/http/hostname string leelah.home.ianwilson.org di mirror/http/directory string /ubuntu di mirror/http/mirror select leelah.home.ianwilson.org 

我可以尾随我的access_log文件,看到我的preseed文件正在从安装程序中检索,但没有别的。 当我看到我的networkingstream量时,我看到stream量正在archive.ubuntu.com,而不是我的本地镜像。

如果在引导式安装过程中select“手动镜像”并指定我的镜像服务器,它将使用本地镜像,但是,尝试通过预先设置完成此操作的任何尝试都将失败。

我应该把什么放在我的预先定义的文件,以便安装程序默认到我的本地镜像?

看来,发行代号没有设置。 这是从工作的预先模板的例子:

 di mirror/country string manual di mirror/http/hostname string aptproxy.hostname.tld:3142 di mirror/http/directory string /ubuntu di mirror/http/proxy string di mirror/codename string natty di mirror/suite string natty 

另外,可以在内核初始化参数中传递DEBCONF_DEBUG = 5,以便在预先安装期间启用debugging日志级别。 / var / log / syslog中的消息将会更加冗长,您可以find原因。