Debian preseeding: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 17: Line 17:
  #  debconf-get-selections >> file
  #  debconf-get-selections >> file


== cdrom ==
== DHCP / Web set up ==
 
Set DNS to resolve "autoserver" to be my Apache server.
 
Put the preseed file into d-i/jesse/preseed.cfg
 
I also set up the server to be a Squid proxy which really speeds things up.
 
== Booting from CD image ==


When the system boots, hit TAB and add this to the kernel boot line:
When the system boots, hit TAB and add this to the kernel boot line:
Line 25: Line 33:


Everything else is good.
Everything else is good.
== PXE boot ==

Revision as of 21:15, 7 February 2016

Because installs are too long and complicated.

  1. Answer all the questions and put the answers in a file.
  2. Set up DHCP so it feeds the file to the target machine when it boots.

http://hands.com/d-i/

Contents of preseed file for Jessie: http://d-i.alioth.debian.org/manual/en.i386/apbs04.html

# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
# be asked. You can preseed those too, of course. To get a list of every
# possible question that could be asked during an install, do an
# installation, and then run these commands:
#   debconf-get-selections --installer > file
#   debconf-get-selections >> file

DHCP / Web set up

Set DNS to resolve "autoserver" to be my Apache server.

Put the preseed file into d-i/jesse/preseed.cfg

I also set up the server to be a Squid proxy which really speeds things up.

Booting from CD image

When the system boots, hit TAB and add this to the kernel boot line:

install keymap=skip-config locale=en_US auto url=autoserver

It's still prompting for hostname/domainname. It even does this when I pass the name on the boot line.

Everything else is good.

PXE boot