wiki:jazz/preseed

preseed : 無人值守自動安裝 Debian

DEBUG

  • [參考] B.3. Creating a preconfiguration file
    To check possible values for questions, you can use nano to examine the files in /var/lib/cdebconf 
    while an installation is in progress. View templates.dat for the raw templates and questions.dat for 
    the current values and for the values assigned to variables.
    
    To check if the format of your preconfiguration file is valid before performing an install, you can
    use the command debconf-set-selections -c preseed.cfg. 
    
  • 安裝過程中,可以按 ALT-F2 換到另一個 console,並使用 nano 編輯器檢查 /var/lib/cdebconf 底下的 questions.dat 來得知可能會詢問的問題
  • 可以使用以下指令驗證 preseed 設定檔是否正確
    ~$ sudo debconf-set-selections -c preseed.cfg
    
Last modified 13 years ago Last modified on Sep 25, 2011, 12:38:49 PM