diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-17 16:51:23 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-17 17:57:53 -0400 |
commit | 1df1cfc147a659c18909523ff01775e2a677c279 (patch) | |
tree | 4aae3672b75f7edf08c42d4887cd2e03182f1835 | |
parent | 142478c941841b34b20448e1e9bccd193aea1d45 (diff) | |
download | tools-1df1cfc147a659c18909523ff01775e2a677c279.tar.gz tools-1df1cfc147a659c18909523ff01775e2a677c279.tar.xz tools-1df1cfc147a659c18909523ff01775e2a677c279.zip |
The cloudmaster now uses the virt func module's autostart method
-rw-r--r-- | cloudmasterd/extra/cloudmasterd.spec | 2 | ||||
-rw-r--r-- | cloudmasterd/lib/cloudmasterd.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudmasterd/extra/cloudmasterd.spec b/cloudmasterd/extra/cloudmasterd.spec index 4896536..50575b8 100644 --- a/cloudmasterd/extra/cloudmasterd.spec +++ b/cloudmasterd/extra/cloudmasterd.spec @@ -6,7 +6,7 @@ Summary: Genome library and web application for managing cloud machines Name: rubygem-%{gemname} Version: 1.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Group: Applications/System License: GPLv2 URL: https://fedorahosted.org/genome diff --git a/cloudmasterd/lib/cloudmasterd.rb b/cloudmasterd/lib/cloudmasterd.rb index 8d614af..fe94972 100644 --- a/cloudmasterd/lib/cloudmasterd.rb +++ b/cloudmasterd/lib/cloudmasterd.rb @@ -150,7 +150,7 @@ module Cloudmasterd::Controllers raise output unless $?.success? # Make the new host autostart - `func "#{host}" call command run "ln -s /etc/xen/#{system_name} /etc/xen/auto/"` + `func "#{host}" call virt autostart #{system_name}"` end # POST /koan |