[DRE-commits] [vagrant-libvirt] 44/163: typo

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:57:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.

commit f8c69ea4f957d6471b53978f06a621fa9ae753d9
Author: dima <pronix.service at gmail.com>
Date:   Sun Sep 28 16:17:35 2014 +0200

    typo
---
 lib/vagrant-libvirt/templates/domain.xml.erb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/vagrant-libvirt/templates/domain.xml.erb b/lib/vagrant-libvirt/templates/domain.xml.erb
index 4a5d59f..1bc64f0 100644
--- a/lib/vagrant-libvirt/templates/domain.xml.erb
+++ b/lib/vagrant-libvirt/templates/domain.xml.erb
@@ -5,10 +5,10 @@
 
   <% if @nested %>
     <cpu mode='<%= @cpu_mode %>'>
-      <% unless @cpu_mode == 'host-passthrough' %>
-      <model fallback='allow'>qemu64</model>
-      <feature policy='optional' name='vmx'/>
-      <feature policy='optional' name='svm'/>
+      <% if @cpu_mode != 'host-passthrough' %>
+        <model fallback='allow'>qemu64</model>
+        <feature policy='optional' name='vmx'/>
+        <feature policy='optional' name='svm'/>
       <% end %>
     </cpu>
   <% end %>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list