diff options
| author | root <root@hackathon1-repo.usersys.redhat.com> | 2008-06-20 14:15:29 -0400 |
|---|---|---|
| committer | root <root@hackathon1-repo.usersys.redhat.com> | 2008-06-20 14:15:29 -0400 |
| commit | b8581b5ff38e3ab06de12adae4e86d673a9c4ffd (patch) | |
| tree | 9288504b0c6f0447faa402f52ab992eb79677377 /cloudmasterd/lib | |
| parent | f7d1d6afad4e0faad3dedeee4b9aa3637320fe99 (diff) | |
| download | tools-b8581b5ff38e3ab06de12adae4e86d673a9c4ffd.tar.gz tools-b8581b5ff38e3ab06de12adae4e86d673a9c4ffd.tar.xz tools-b8581b5ff38e3ab06de12adae4e86d673a9c4ffd.zip | |
Fixing rake errors
Diffstat (limited to 'cloudmasterd/lib')
| -rw-r--r-- | cloudmasterd/lib/cloudmasterd.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudmasterd/lib/cloudmasterd.rb b/cloudmasterd/lib/cloudmasterd.rb index a8d540b..1836630 100644 --- a/cloudmasterd/lib/cloudmasterd.rb +++ b/cloudmasterd/lib/cloudmasterd.rb @@ -14,7 +14,6 @@ require 'xmlrpc/client' Camping.goes :Cloudmasterd Cloudmasterd.picnic! - module Cloudmasterd::Helpers class Cobblerd def initialize(repo) @@ -90,7 +89,7 @@ module Cloudmasterd::Controllers # Find the best host on which to create a VM that requires # the given "disk_size" and "ram" def _get_best_host(disk_size, ram) - return `func-find-resources -m #{ram} -d #{disk_size}`.split(':')[0] + return `func-find-resources -m #{ram} -d #{disk_size} -f HostVolGroupImages`.split(':')[0] end # run the appropriate koan command to create the given "fqdn" |
