Kickstart - problems with parititons

Hello,
I’m doing a kickstart with next options:

#Clear the Master Boot Record
zerombr yes

#Partition clearing information
clearpart --all --initlabel
ignoredisk --only-use=sda

#Disk partitioning information
clearpart --all --initlabel
part /boot --fstype=“ext2” --size=2048 --ondisk sda
part swap --fstype=“swap” --size=16384 --ondisk sda
part / --fstype=“xfs” --size=1 --grow --ondisk sda

For unknown reasons I see this in fdisk & lsblk:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
|-sda1 8:1 0 49G 0 part /
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 1021M 0 part [SWAP]
sr0 11:0 1 1024M 0 rom

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 102762495 102760448 49G 83 Linux
/dev/sda2 102764542 104855551 2091010 1021M 5 Extended
/dev/sda5 102764544 104855551 2091008 1021M 82 Linux swap / Solaris

` symbols & 1kb extended partition. If I install manually I don’t see the same problem.

Any thoughts?

Thank you

I’ve moved this to the https://community.ubuntu.com/c/support-help-requests category because this site isn’t designed to take tech support questions. Sorry. I’d recommend using one of the official support channels listed on the https://community.ubuntu.com/t/finding-help/712 page.