File: set_part_flag_plugin.mdwn

package info (click to toggle)
vmdb2 0.27%2Breally.0.26-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 704 kB
  • sloc: python: 2,365; sh: 207; makefile: 26
file content (23 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Step: set_part_flag
-----------------------------------------------------------------------------

Set or clear a flag in 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
      flag: bios_grub
      state: enabled