ignoredisk --only-use={device}
clearpart --all --drives={device} --disklabel={table}

reqpart

bootloader --boot-drive={device} --location=partition

part / --label=system --fstype=ext4 --grow --asprimary
#part swap --label=swap --fstype=swap --recommended --asprimary --hibernation
swapfile --path=/ --recommended
