I am in the process of creating an automated Server Install using ks.cfg the entire process work fine expect for the formatting and partitioning of the disk.
I want the installer to automatically proceed by formatting and paritioning the drive no matter the status. Currently if there is an existing file system the install pauses and asks you to confirm the over write. Here is the relevant piece of the KS.cfg
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext4 --size 1 --grow --asprimary
Here is the menu in question:
I tried adding --y
to the end of the part command as a guess and that didn't work. This is probably pretty simple but I have not been able to find the syntax to accomplish and I'm pretty inexperienced with Ubuntu / Linux in general.