Displaying 20 results from an estimated 10000 matches similar to: "how to convert from xen .cfg files to libvirt xml?"
2010 Dec 25
6
undefined local variable or method?
I have:
<%= form_for(@supplier) do |f| %>
.......
......
<%= render ''sector_categories'', :locals => {:f => f} %>
in _sector_categories partial I have:
<div class="field">
<div id="category_update">
<% for category in @categories %>
<%= f.check_box :category_ids[], category.id,
2012 Nov 26
8
why functional test does not get failure?
The test:
test "should get new" do
get :new, :room_id => @room.name
assert_template(:ne)
end
the template new does not exists but the test does not get failure.
Why?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Jun 15
5
rails 3.0.9
Today was expected the new stable rails release 3.0.9 with some fixed,
among all the problem with escape_javascript.
It seems that it see that has not been released, unfortunately.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2003 Dec 16
1
Update Archive Flag
Hi All
We sync our Novell-Servers Version 6 with the Parameter *avz to our Backupsrv.
When a file is changed or it's new, the file where sync to Backupsrv, the Archive-Flag is set on, and wie can Backup all changed and new Files with Arcserve to tape after sync.
It works fine.
But when we sync files there are on PC'S (Win98, Win 2000, XP, NT) only changed files have the Archiv-Flag
2011 Jan 08
9
options_for_select.
Even reading the documentation I can not figure out what is the
select_tag difference between this:
<% = select_tag (bags [], "options_for_select (bags.collect @ {| bb |
[bb.bag_type, bb.id]},
ruser.bags.collect @ {| ub | ub.id}), {: multiple => true,: id =>
"bags"})%>
and this:
<% = select_tag "bags [], " options_for_select (bags.collect @ {| bb
2012 May 10
6
Is it suitable using STI?
I have problems on a simple design problem.
I have many companies. Each company have one or more commercial activity.
Activities types are: ecommerce, local unit, television, automatic
vending machines, and so on.
Company may have one or more ecommerce activity or one or more local
unit activity, one ormore vending machines, etc.
How can I model this scenario?
Company has_many ecommerce has_many
2013 Apr 09
2
fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown
Hi,
I used to convert qemu XML to args with libvirt-1.0.3.
But it failed to convert with libvirt-1.0.4.
# virsh domxml-to-native qemu-argv test.xml >test.sh
error: An error occurred, but the cause is unknown
Comparing the debug file as below:
1) lbvirt-1.0.3
<cut>
2013-04-09 03:23:47.296+0000: 2669: debug : virEventPollInterruptLocked:716 : Interrupting
2013-04-09 03:23:47.296+0000:
2011 Jun 19
10
validates_numercality_of with allow_nil.
In the model I have:
validates :square_meters_public_land, :barrier_meters, :numericality
=> { :greater_than_or_equal_to => 0 }, :allow_nil => true
but if, in the field, on create, I don''t insert a value I have the
error "field is not a number".
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2011 Jan 11
9
Can I omit respond_with.
If I don''t want xml results but only html can I omit respond_with in
some actions?
For example index from:
respond_with(@sectors = Sector.all)
becomes only
@sectors = Sector.all
isn''t it?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Oct 07
1
Hide share with a twist
I'm setting up a single SAMBA server that will have different
netbioses names:
netbios aliases SAMBASRV BACKUPSRV
Then I have two shares defined, [assets] and [digital], different
path on both.
Now, when I connect to \\SAMBASRV from my windows machine, I see
both the 'assets' and 'digital' shares available. Same if I connect to
\\BACKUPSRV. Is there a way
2011 Nov 12
3
complex form with dynamic fields.
I''ve seen http://railscasts.com/episodes/73-complex-forms-part-1,
part2 and part3.
It seems to be my case.
I have:
Company
has_many :documents
has_many :tenders, :through..........
and
Document
belongs_to :company
Tender
has_many :companies, :through..........
I want to insert documents and tenerds on company creation.
If documents are more than one the user can click "add
2012 May 03
3
inheritance with rails.
Hello.
I''ve read about examples on inheritance with rails.
Here is an example:
http://juixe.com/techknow/index.php/2006/06/03/rails-single-table-inheritance/
The way is to add a type field in the table.
So if I have an Animal class with an attribute name, I can inherit
from this class like:
Dog < Animal, Cat < Animal, and so on.
With the type field in the table I can do Dog.all,
2009 Sep 18
36
streaming server on a virtual machine.
I need to installa a streaming server for live videos and for video on demand.
My choice is red5.
Do you think I can use a xen virtual machine to run a streaming service?
Or it is better not to virtualize?
Sorry for my bad english.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2011 Feb 23
3
validates, what's wrong?
class Category < ActiveRecord::Base
belongs_to :sector
has_and_belongs_to_many :suppliers
validates :sector, :name, :presence => true
As you see I have validates :sector, :presence => true.
When I create a new Category, if I don''t select a sector I have an
error page with the message:
Couldn''t find Sector with ID=
But there is the validates, why I don''t
2014 Mar 06
1
Fail to convert LXC container configuration into a domain XML fragment
Hi, all,
I used lxc-tools to create a linux container. I am trying to transfrom LXC
container configuration into a domain XML fragment using the following
command:
*$ virsh -c lxc:/// domxml-from-native lxc /var/lib/lxc/my_conatiner/config*
However, I get the error message,
error: this function is not supported by the connection driver:
virConnectDomainXMLFromNative
It seems that
2020 Sep 04
2
printing the qemu final execution line from an xml
Greetings,
I have a qemu line which I want to convert ot libvirt xml but as domxml-from-native is deprecated, I want to try it the other way around.
e.g. write an libvirt xml and dump the final qemu line without running it.
is there a way to do so?
Thanks,
Dagg.
2010 Sep 13
13
what I've missed in routes.rb?
In routes.rb I''ve put:
resources :sessions
controller is:
class SessionsController < ApplicationController
def destroy
session[:id] = nil
session.delete(:casfilteruser)
CASClient::Frameworks::Rails::Filter.logout(self)
end
end
In application.html.erb I have:
<%= link_to ''Logout'', session_path(session[:cas_user]), :method => :delete %>
I
2013 Feb 05
2
project proposal.
Hello.
There is someone interested to a collaboration in developing a project
to manage commercial activities?
The target is to learn more on grails and develop an useful application.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2020 Sep 21
2
[libvirt] SRIOV configuration
Hello,
We encountered a problem while testing SRIOV on kubevirt [1]:
We are currently using the Device "hostdev" generic options to
pass-through the VF to the guest.
It is not done through the "interface" (with type hostdev) because
that option requires access to the PF which is not available in our
case (the VF is moved to the container namespace where libvirt runs,
but not
2011 Feb 10
7
upgrade leny-squeeze, xen3.2-xen4.0, what''s wrong?
I am running a Debian Squeeze Xen 4.0.1 Hypervisor and 2.6.32-5-xen-amd64 dom0.
My xen-tools.conf:
lvm = vg00
size = 100Gb # Disk image size.
memory = 2048Mb # Memory size
swap = 2G # Swap size
# noswap = 1 # Don''t use swap at all for the new system.
fs = ext4 # use the EXT3 filesystem for the disk image.
dist = `xt-guess-suite-and-mirror --suite` # Default