From 4f244d65c5c2e4ffb4b38e00baa5f83de89c20d8 Mon Sep 17 00:00:00 2001 From: Greg Blomquist Date: Thu, 19 Jun 2008 11:26:41 -0400 Subject: Creating a "cloud controller" daemon to run on cloud machines and provision virtual machines within the cloud. Updated everest-bootstrap to call the cloud controller when provisioning machines Removed "koan" operations from everestd. Now everestd only knows how to register machines with everest and cobbler. Basically a rollback to its previous version. --- cloud/script/destroy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 cloud/script/destroy (limited to 'cloud/script/destroy') diff --git a/cloud/script/destroy b/cloud/script/destroy new file mode 100755 index 0000000..e48464d --- /dev/null +++ b/cloud/script/destroy @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) + +begin + require 'rubigen' +rescue LoadError + require 'rubygems' + require 'rubigen' +end +require 'rubigen/scripts/destroy' + +ARGV.shift if ['--help', '-h'].include?(ARGV[0]) +RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit] +RubiGen::Scripts::Destroy.new.run(ARGV) -- cgit