VMware Cloud Community
DyJohnnY
Enthusiast
Enthusiast

ESXi kickstart clearpart parameter - does it support wildcards

I am trying to write a kickstart script that will clear all partitions from all the drives in the system.

However I want the local USB boot mounted from the BMC to be skipped. This device name can be vmhba32, vmhba33 and so on, depending on what other drives may have been mounted on the BMC previously.

Is there a way to use wildcards with --ignoreddrives option?

Alternatively, will clearpart not touch the local USB partitions and not throw a deployment error if they exist, so I won't have to bother specifying an ignored drive?

IonutN
0 Kudos
0 Replies