summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-02-25 15:08:06 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-02-25 15:08:06 +0000
commit1a26419d82174eeb1f3bd37001dc2c82d4343455 (patch)
tree7e0e52421447d8592916062f050775b25fdb8e4a
parentb95084752d70f9baa509773e9cff9d0a6d393d9d (diff)
downloaddefinitions-baserock/pedroalvarez/testing-partitioning.tar.gz
Change-Id: I6fad1bc4c2acfe6c3f786fd0471a9ea9b3e863e2
-rw-r--r--clusters/base.morph12
-rw-r--r--partitioning/default-boot14
2 files changed, 26 insertions, 0 deletions
diff --git a/clusters/base.morph b/clusters/base.morph
new file mode 100644
index 00000000..555b3e89
--- /dev/null
+++ b/clusters/base.morph
@@ -0,0 +1,12 @@
+name: release
+kind: cluster
+systems:
+- morph: systems/base-system-x86_64-generic.morph
+ deploy:
+ base-system-x86_64-generic:
+ type: extensions/rawdisk
+ location: base-system-x86_64-generic.img
+ DISK_SIZE: 2G
+ HOSTNAME: base-system-x86-64
+ USE_PARTITIONING: yes
+ PARTITION_FILE: partitioning/default-boot
diff --git a/partitioning/default-boot b/partitioning/default-boot
new file mode 100644
index 00000000..b150675b
--- /dev/null
+++ b/partitioning/default-boot
@@ -0,0 +1,14 @@
+start_offset: 2048
+partition_table_format: mbr
+partitions:
+- description: boot
+ filesystem: vfat
+ mountpoint: /boot
+ fdisk_type: 0x0b
+ number: 1
+ size: 100M
+- description: rootfs
+ size: fill
+ fdisk_type: 0x83
+ filesystem: btrfs
+ mountpoint: /