← Back to team overview

curtin-dev team mailing list archive

[Merge] ~mwhudson/curtin:v2-even-even-more-example-tweaks into curtin:master

 

Michael Hudson-Doyle has proposed merging ~mwhudson/curtin:v2-even-even-more-example-tweaks into curtin:master.

Commit message:
examples: even more tweaks for v2

bcache-partitions.yaml: remove the ptable setting on a drive that will
be part of a bcache. A quirk of v1 partitioning is that setting ptable:
gpt on a disk but then creating no partitions will leave the disk with
no partition table.

lvm_iscsi.yaml: enlarge some partitions, one for / and one because of
the logical partition overhead.

mirrorboot.yaml: make / slightly larger.



Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~mwhudson/curtin/+git/curtin/+merge/416635
-- 
Your team curtin developers is requested to review the proposed merge of ~mwhudson/curtin:v2-even-even-more-example-tweaks into curtin:master.
diff --git a/examples/tests/bcache-partitions.yaml b/examples/tests/bcache-partitions.yaml
index 20ccddc..90861bc 100644
--- a/examples/tests/bcache-partitions.yaml
+++ b/examples/tests/bcache-partitions.yaml
@@ -18,7 +18,6 @@ storage:
     type: disk
     name: rotary1
     serial: disk-c
-    ptable: gpt
     wipe: superblock
   - id: id_rotary0_part1
     type: partition
diff --git a/examples/tests/lvm_iscsi.yaml b/examples/tests/lvm_iscsi.yaml
index e75d6d1..1f2ad01 100644
--- a/examples/tests/lvm_iscsi.yaml
+++ b/examples/tests/lvm_iscsi.yaml
@@ -12,7 +12,7 @@ storage:
       - id: vdb1
         type: partition
         number: 1
-        size: 3GB
+        size: 4GB
         device: vdb
         flag: boot
       - id: vdb2
@@ -100,7 +100,7 @@ storage:
         wipe: superblock
       - id: sdb_extended
         type: partition
-        size: 4G
+        size: 4.5G
         flag: extended
         device: sdb
       - id: sdb1
diff --git a/examples/tests/mirrorboot.yaml b/examples/tests/mirrorboot.yaml
index 42fdc93..83217d8 100644
--- a/examples/tests/mirrorboot.yaml
+++ b/examples/tests/mirrorboot.yaml
@@ -17,7 +17,7 @@ storage:
        flag: bios_grub
      - id: sda1
        type: partition
-       size: 3GB
+       size: 3.5GB
        device: sda
      - id: sdb
        type: disk
@@ -28,7 +28,7 @@ storage:
        name: second_disk
      - id: sdb1
        type: partition
-       size: 3GB
+       size: 3.5GB
        device: sdb
      - id: mddevice
        name: md0

Follow ups