summaryrefslogtreecommitdiff
path: root/minimal-system-deploy.morph
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-27 14:55:56 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-03-27 14:55:56 +0000
commit7b9c1858a458f1c6f1a1f1447c49f8615d385765 (patch)
tree171d2ceccfc621efb2fb62c268a0378f1483c1a0 /minimal-system-deploy.morph
parenta57d100a25d6e91266db9dfa6499c706169d1282 (diff)
downloaddefinitions-7b9c1858a458f1c6f1a1f1447c49f8615d385765.tar.gz
Allow minimal systems to be bootable
This adds a busybox-init.configure extension, which if INIT_SYSTEM=busybox is set, will configure it to boot with busybox. The existing minimal system has been changed to use the busybox-init configuration extension. minimal-system-deploy.morph has been added as an example, showing that INIT_SYSTEM: busybox needs to be set.
Diffstat (limited to 'minimal-system-deploy.morph')
-rw-r--r--minimal-system-deploy.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/minimal-system-deploy.morph b/minimal-system-deploy.morph
new file mode 100644
index 00000000..f6213c39
--- /dev/null
+++ b/minimal-system-deploy.morph
@@ -0,0 +1,14 @@
+name: minimal-system-deploy
+kind: cluster
+description: |
+ Deploy a minimal system to a system running KVM
+systems:
+- morph: minimal-system-x86_32-generic
+ deploy:
+ vm:
+ type: kvm
+ location: kvm+ssh://192.168.122.1/tiny-x86_32/srv/VMs/tiny-x86_32.img
+ HOSTNAME: tiny-x86_32
+ DISK_SIZE: 512M
+ RAM_SIZE: 512M
+ INIT_SYSTEM: busybox