Unattended ubuntu install from netboot with preseed file
-
Hi,
I’m trying to boot on netboot to make a install with preseed file.
I try to follow information in thos page
https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/
https://forums.fogproject.org/topic/2596/unattended-debian-iso-install
https://forums.fogproject.org/topic/7781/custom-iso-centos-6-7-installation-issues/11
https://wiki.debian-fr.xyz/PXE_avec_support_EFI#AVG_Rescue_CD_GNU.2FLinuxbut nothing work when I try to add my preseed.
My parameters are:kernel tftp://${fog-ip}/boot/ubuntu/trusty/amd64/linux initrd tftp://${fog-ip}/boot/ubuntu/trusty/amd64/initrd.gz imgargs linux initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/tftpboot/boot/ubuntu/trusty/amd64/ url=http://${fog-ip}/scripts/install/preseed/preseed.cfg ip=dhcp rw boot
It’s booting fine, and I can make a manual install but I don’t see the preseed file after the boot and is not used.
Any idear ?
-
Hi,
I found a solution:
kernel tftp://${fog-ip}/boot/ubuntu/trusty/amd64/linux initrd tftp://${fog-ip}/boot/ubuntu/trusty/amd64/initrd.gz imgargs linux auto=true console-setup/layoutcode=fr keyboard-configuration/xkb-keyboard=fr locale=fr_FR.UTF-8 hostname=master domain=maestria.fr url=http://${fog-ip}/preseed_path/preseed_name.cfg quiet initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/tftpboot/boot/ubuntu/trusty/amd64/ boot
It’s look to work just need to configure my preseed file correctly.
Thank’s