我发现,如果我试图在github上托管我的启动文件并将原始url传递给virt-install,如下面所示,它将失败。
http://raw.githubusercontent.com/programster/KVM-Command-Generator/master/kickstart_files/debian_wheezy.cfg┌────────────┤ [!!] Download debconf preconfiguration file ├────────────┐
│ │
│ Failed to retrieve the preconfiguration file │
│ The file needed for preconfiguration could not be retrieved from │
│ http://raw.githubusercontent.com/programster/KVM-Command-Generator/ma │
│ ster/kickstart_files/debian_jessie.cfg. The installation will proceed │
│ in non-automated mode. │
│ │
│ <Continue> │
│ │
└───────────────────────────────────────────────────────────────────────┘但是,如果我使用相同的内容,并像下面这样将其倾倒到pastebin中,它就会起作用:
http://pastebin.com/raw.php?i=JEZn5Q5n在启动文件地址上是否有最大长度可以工作,或者是否存在其他情况,如响应中的字符编码或行尾等?
发布于 2016-03-10 09:34:12
看起来问题在于https协议,因为github将所有请求重定向到https。看起来Ubuntu (测试可靠)不支持,或者它的启动实现缺乏https。当通过http下载启动文件时,它工作得很好。
https://unix.stackexchange.com/questions/218283
复制相似问题