summaryrefslogtreecommitdiff
path: root/vmdb/plugins/set_part_flag_plugin.mdwn
blob: 0b6dce27246e54a82f524ff2a0481c9d348ea185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Step: set_part_flag
-----------------------------------------------------------------------------

Create a partition.

Step keys:

* `set_part_flag` — REQUIRED; filename of block device containing
  partition that will have the flag set or cleared.

* `tag` — REQUIRED; tag of the partition being modified.

* `flag` — REQUIRED; the name of the flag to be set or cleared

* `state` — OPTIONAL; the flag state: "enabled" or "disabled". Defaults
  to "enabled".

Example (in the .vmdb file):

    - set_part_flag: "{{ output }}"
      tag: rootfs
      start: 0%
      flag: bios_grub
      state: enabled