From bff17c3ed2f7ba8a665a1ff2a0ba89ace4d3a5c9 Mon Sep 17 00:00:00 2001 From: arnaudmorin Date: Fri, 29 May 2015 15:56:50 +0200 Subject: Add create vm script and foreman config Add a script to create a KVM machine and install foreman in it. This is the beginning of the OpenSteak installation mecanism. It is very similare as what is done in the Foreman/Quickstack approach with small differences: - Ubuntu as base OS (instead of CentOS) - Foreman v1.8 (instead of 1.7.5 - KVM (libvirt) virtual machine (instead of Vagrant) - Only python/bash scripts to manage all the stuff (instead of Khaleesi/Ansible/Astaport playbooks) Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0 JIRA: BGS-9 Signed-off-by: arnaudmorin --- opensteak/tools/templates_foreman/kvm-config | 65 ++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 opensteak/tools/templates_foreman/kvm-config (limited to 'opensteak/tools/templates_foreman/kvm-config') diff --git a/opensteak/tools/templates_foreman/kvm-config b/opensteak/tools/templates_foreman/kvm-config new file mode 100644 index 0000000..7e3d65d --- /dev/null +++ b/opensteak/tools/templates_foreman/kvm-config @@ -0,0 +1,65 @@ + + ${name} + ${ram} + ${ram} + ${cpu} + + hvm + + + + + + + + preserve + restart + restart + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +