diff options
author | Bryan Kearney <bkearney@redhat.com> | 2008-11-12 08:58:09 -0500 |
---|---|---|
committer | Darryl L. Pierce <dpierce@redhat.com> | 2008-11-12 09:14:04 -0500 |
commit | c24a59f5a1d549337cb74d8ec0f37f84f7be806c (patch) | |
tree | 018e5298e43d2765b87879644842b85c31db630c /contrib | |
parent | 16d3ba6682f4e622636872360cdf7b74086da841 (diff) | |
download | cobbler-c24a59f5a1d549337cb74d8ec0f37f84f7be806c.tar.gz cobbler-c24a59f5a1d549337cb74d8ec0f37f84f7be806c.tar.xz cobbler-c24a59f5a1d549337cb74d8ec0f37f84f7be806c.zip |
Add additional attributes to the ruby image api.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ruby/lib/cobbler/image.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ruby/lib/cobbler/image.rb b/contrib/ruby/lib/cobbler/image.rb index 336713f2..ea9dddc9 100644 --- a/contrib/ruby/lib/cobbler/image.rb +++ b/contrib/ruby/lib/cobbler/image.rb @@ -31,11 +31,10 @@ module Cobbler :remove => 'remove_image' ATTRIBUTES = [:name, :owners, :depth, :virt_file_size, - :virt_path, :xml_file, :virt_bridge, :file, :parent] - # These attributes seem to not exist yet. :virt_ram, :virt_cpus, + :virt_path, :xml_file, :virt_bridge, :file, :parent, + :image_type, :virt_ram, :virt_cpus, :virt_type, :network_count] ATTRIBUTES.each do |attr| - puts "Creating field with #{attr}" cobbler_field attr end @@ -71,4 +70,5 @@ module Cobbler Image.new(attrs) end end -end
\ No newline at end of file +end + |