You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**What problem does this PR solve?**:
Updates CAPA to allow us to use nodeadm for bootstrapping.
**Which issue(s) this PR fixes**:
https://jira.nutanix.com/browse/NCN-110197
**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->
**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
// Partition defines how to create and layout a partition.
269
-
typePartitionstruct {
270
-
// Device is the name of the device.
271
-
Devicestring`json:"device"`
272
-
// Layout specifies the device layout.
273
-
// If it is true, a single partition will be created for the entire device.
274
-
// When layout is false, it means don't partition or ignore existing partitioning.
275
-
Layoutbool`json:"layout"`
276
-
// Overwrite describes whether to skip checks and create the partition if a partition or filesystem is found on the device.
277
-
// Use with caution. Default is 'false'.
278
-
// +optional
279
-
Overwrite*bool`json:"overwrite,omitempty"`
280
-
// TableType specifies the tupe of partition table. The following are supported:
281
-
// 'mbr': default and setups a MS-DOS partition table
282
-
// 'gpt': setups a GPT partition table
283
-
// +optional
284
-
TableType*string`json:"tableType,omitempty"`
285
-
}
286
-
287
-
// Filesystem defines the file systems to be created.
288
-
typeFilesystemstruct {
289
-
// Device specifies the device name
290
-
Devicestring`json:"device"`
291
-
// Filesystem specifies the file system type.
292
-
Filesystemstring`json:"filesystem"`
293
-
// Label specifies the file system label to be used. If set to None, no label is used.
294
-
Labelstring`json:"label"`
295
-
// Partition specifies the partition to use. The valid options are: "auto|any", "auto", "any", "none", and <NUM>, where NUM is the actual partition number.
296
-
// +optional
297
-
Partition*string`json:"partition,omitempty"`
298
-
// Overwrite defines whether or not to overwrite any existing filesystem.
299
-
// If true, any pre-existing file system will be destroyed. Use with Caution.
300
-
// +optional
301
-
Overwrite*bool`json:"overwrite,omitempty"`
302
-
// ExtraOpts defined extra options to add to the command for creating the file system.
303
-
// +optional
304
-
ExtraOpts []string`json:"extraOpts,omitempty"`
305
-
}
306
-
307
-
// MountPoints defines input for generated mounts in cloud-init.
0 commit comments