Questions tagged [preseed]

Preseeding provides a way to set answers to questions asked during the installation process of a Debian operating system.

Preseeding provides a way to set answers to questions asked during the installation process of a Debian operating system, without having to manually enter the answers while the installation is running. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations.

Preseeding methods:

  1. Adding the preseed file to the installer's initrd.gz

    Installation can be fully automated by adding a preseed file to the installer ISO's initrd.gz. The downside of this method is that net installer has to be generated whenever a preseed file is modified.

  2. Autoloading the preseeding file from a webserver via DHCP

    If you have control over the DHCP server on your network, this method allows fully automated installations.

  3. Loading the preseeding file from a webserver

    Type "auto url=http://webserver/path/preseed.cfg", replacing the URL with the address to your preseed configuration file

97 questions
3
votes
1 answer

Showing message to the user during a Debian unattended preseeded installation

During the late_command step of an unattended installation, I'm running a shell script : d-i preseed/late_command string in-target /bin/sh -c './execute-script.sh' When the late_command step is reached, the UI (blue background, grey window) displays…
Bil5
  • 153
  • 5
2
votes
1 answer

Debian preseed prompts disk select dispite it being seeded

In our environment we are automating deployment of Debian VMs to run workloads. Everything in our preseed file works except for the selection of the disk. This still gets prompted. Our preseed config for disks is: d-i…
kazaamjt
  • 145
  • 2
  • 15
2
votes
1 answer

Ubuntu preseed static IP configuration (virt-install)

I want to create Ubuntu 14.04 VM with virt-install and preseed configuration. I have provided: d-i netcfg/enable boolean true d-i netcfg/choose_interface select auto d-i netcfg/disable_dhcp boolean true d-i netcfg/get_ipaddress string…
Vladimir Kovalchuk
  • 179
  • 1
  • 2
  • 7
2
votes
1 answer

Debian 8.3.0 - PXE installer asking for CDROM?

I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks for a CDROM, fails to find it, and quits. Does…
Locane
  • 429
  • 1
  • 8
  • 20
2
votes
1 answer

Securely deploying secrets to boxes during provisioning

During a fully automated deployment on physical hardware (using pxeboot / preseed / kickstart to install and configure a minimal system for bootstrapping) we need to deploy certain secrets - such as our Chef validation key, and a secret key for…
user80776
2
votes
1 answer

Preseeding debian install - EFI

The EFI partition is formatted in ext4 during the setup of debian. I am trying to preseed the install of debian jessie and I can't get it working since the UEFI partition is formatted in ext4 (got information with blkid). My preseed for…
Antho
  • 21
  • 1
  • 1
  • 4
2
votes
0 answers

Debian d-i preseed partman tmpfs

I am trying to create automatic provisioning of my servers using pxeboot and netinstall. Everything works ok (RAID, LVM, ...), but I would need to create tmpfs for some directories. I would like to use great option of partman - create partition that…
Yarik Dot
  • 1,583
  • 12
  • 26
2
votes
2 answers

veewee: build gets stuck during installation of libssl on debian 7.4

I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build veewee vbox build 'debian-7.4' the process gets stuck on the installation of libssl because it requires the user input to restart some services (ssh…
damko
  • 457
  • 3
  • 15
2
votes
1 answer

Preseed RAID10 does not seem to work

I have this config (excerpt) for my preseed d-i partman-auto/method string raid d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd d-i partman-auto/expert_recipe string \ multiraid:: \ 512 10 512 raid \ …
Doridian
  • 331
  • 1
  • 2
  • 7
2
votes
0 answers

Cannot seem to get Ubuntu Kickstart and preseed to cooperate with partitioning

I am trying to set up a minimal installation for some Ubuntu 12.04 workstations where I can pop in a CD-ROM, hit enter a couple times, and have it build me a ready-made system for imaging and deployment. The systems have 3 drives, but since Ubuntu's…
romandas
  • 3,302
  • 8
  • 39
  • 44
2
votes
1 answer

Ubuntu Preseed not using local mirror

I have a full ubuntu mirror located on the server http://leelah.home.ianwilson.org/ubuntu/ In my preseed.cfg file, I have the following d-i config for selecting my country mirror: d-i mirror/country string manual d-i mirror/http/hostname string…
Ian Wilson
  • 226
  • 2
  • 6
2
votes
1 answer

Install package to use with early_command in Ubuntu preseed file

I'm trying to make api calls during an ubuntu install using curl, but it always returns the error code 127 which means the command does not exist, this is what it looks like: d-i preseed/early_command string apt-get install curl d-i…
Ruben Quinones
  • 135
  • 1
  • 8
2
votes
2 answers

preseeding locales in debian

I am trying to use debconf to preseed the values for the locales package in Debian squeeze, so that I can reconfigure it non-interactively to, e.g., generate all locales. I extract the right selection from a working system using…
bronto
  • 121
  • 11
2
votes
0 answers

Debian: preseed partitioning results in deadlock

I'm using this code in my preseed.cfg for debian testing (wheezy): #Partman partman-auto partman-auto/init_automatically_partition select 50some_device__________regular partman-auto partman-auto/select_disk select…
user1933738
  • 247
  • 1
  • 6
2
votes
1 answer

Run preseed commands as specific user / switching users

Beside the usual setup where I create a normal user foo, I want to run a few d-i preseed/late_command commands as that foo user. My initial thought was to simply call those commands with sudo, e.g: d-i preseed/late_command in-target echo "" |…
pdu
  • 177
  • 15