Conditional partitioning/formatting of device possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

Is there a possibility in the kickstart syntax to partition/format a device, but only if it's not already partitioned/formatted.

Use case: I have a server with a data disk. First time deployment it should be partitioned and formatted. Second time, the data partition must be left as is and only mounted.

I now about --noformat, but how to make that conditional?

If not possible, I must use %post. Any examples on how to do this there using bash or python?

Regards,

Fred
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux