Answer the question
In order to leave comments, you need to log in
PXE: how to slip custom preseed.cfg?
There is a DHCP and TFTP server, it contains the unpacked netboot.tar.gz from the Debian website. The machines successfully connect to it, and the Debian installation starts exactly as if it were running locally. Is it possible to slip a response file to the installer to fully (or almost completely) automate the installation? I need to get identically configured machines at the output (DHCP network, disk auto-partitioning, standard hostname) - then I will just roll some custom settings, software, etc. through Ansible.
Answer the question
In order to leave comments, you need to log in
Yes, you can.
Upload your preseed somewhere and change the boot line in the PXE config, something like this should be:
LABEL ubuntu
menu ubuntu install
kernel images/ubuntu/ubuntu-installer/amd64/linux
append vga=788 initrd=images/ubuntu/ubuntu-installer/amd64/initrd.gz --- auto=true url=http://ваш-сервер/preseed.cfg quiet
auto=true url=http://ваш-сервер/preseed.cfg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question