ACK'd. Work for me, but I suggest to add a text in order to explain that the Base64 content have to be pasted *as is* else the Zlib::Gzip library throw an error because they look for the well formatted file.
Francesco On Tue, Jul 19, 2011 at 04:19:37PM +0200, mfoj...@redhat.com wrote: > From: Michal Fojtik <mfoj...@redhat.com> > > > Signed-off-by: Michal fojtik <mfoj...@redhat.com> > --- > server/views/instances/new.html.haml | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/server/views/instances/new.html.haml > b/server/views/instances/new.html.haml > index 70bd9d2..6f8a086 100644 > --- a/server/views/instances/new.html.haml > +++ b/server/views/instances/new.html.haml > @@ -27,6 +27,11 @@ > %option > - @load_balancers.each do |load_balancer| > %option{:value => load_balancer.id} #{load_balancer.id} > + -if driver_has_feature?(:user_data) > + %p > + %label > + User data (Base64): > + %textarea{:name => :user_data, :cols => 60, :rows => 10, :placeholder > => "Copy&Paste a Base64 string here..."} > -if driver_has_feature?(:authentication_key) > %p > %label > -- > 1.7.4.1 >