From 7b9c1858a458f1c6f1a1f1447c49f8615d385765 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 27 Mar 2014 14:55:56 +0000 Subject: 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. --- minimal-system-deploy.morph | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 minimal-system-deploy.morph (limited to 'minimal-system-deploy.morph') 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 -- cgit v1.2.1