Debian キックスタートファイルをダウンロードできません

Debian キックスタートファイルをダウンロードできません

virt-install以下のようにgithubでkickstartファイルをホストし、元のURLをgithubに渡そうとすると失敗することがわかりました。

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

質問

有効なキックスタートファイルアドレスの最大長はありますか?それとも、応答の文字エンコーディングや行末などの他の問題がありますか?

ベストアンサー1

githubはすべてのリクエストをhttpsにリダイレクトするので、問題はhttpsプロトコルにあるようです。 Ubuntu initrd(テストと信頼できる)がそれをサポートしていないか、キックスタートの実装にhttpsがありません。 httpを介してキックスタートファイルをダウンロードすると正常に動作します。

おすすめ記事