Procházet zdrojové kódy

make the end point of last partition configurable

master
rodič
revize
c588acfc13
2 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. +1
    -0
      defaults/main.yml
  2. +4
    -4
      templates/partitions.json.j2

+ 1
- 0
defaults/main.yml Zobrazit soubor

@@ -0,0 +1 @@
partitioning_profile_last_partition_end: -1MiB

+ 4
- 4
templates/partitions.json.j2 Zobrazit soubor

@@ -22,7 +22,7 @@
{
"part_type": "primary",
"start": "6GiB",
"end": "-1MiB"
"end": "{{ partitioning_profile_last_partition_end }}"
}
{% endif %}
{% if partitioning_profile == "efi-dmcrypt-lvm" %}
@@ -52,7 +52,7 @@
"name": "{{partition_name_prefix}}-crypt",
"typecode": "8300",
"start": "6GiB",
"end": "-1MiB"
"end": "{{ partitioning_profile_last_partition_end }}"
}
{% endif %}
{% if partitioning_profile == "bios-gpt-mdraid-lvm" %}
@@ -84,7 +84,7 @@
{
"name": "{{partition_name_prefix}}-vg0-md",
"start": "6GiB",
"end": "-1MiB",
"end": "{{ partitioning_profile_last_partition_end }}",
"mdraid": "vg0"
}
{% endif %}
@@ -117,7 +117,7 @@
{
"name": "{{partition_name_prefix}}-vg0-md",
"start": "6GiB",
"end": "-1MiB",
"end": "{{ partitioning_profile_last_partition_end }}",
"mdraid": "vg0"
}
{% endif %}


Načítá se…
Zrušit
Uložit