[DRE-commits] [vagrant-libvirt] 98/163: Add multi-arch support
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Apr 24 13:57:10 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 540d0a2ee564d6a0b45431dc08e460281b57d396
Author: Pradipta Kr. Banerjee <bpradip at in.ibm.com>
Date: Mon Dec 15 22:48:30 2014 +0530
Add multi-arch support
Currently the domain template as defined in domain.xml.erb hard-codes the arch
attribute under OS tag to x86_64. This is really not required since the
'arch' attribute is automatically populated by libvirt
<type arch='x86_64'>hvm</type>
This prevents using this plugin to manage non-x86_64 architecture like
Power(ppc64) and Arm.
This patch removes the 'arch' attribute from the domain template
---
lib/vagrant-libvirt/templates/domain.xml.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vagrant-libvirt/templates/domain.xml.erb b/lib/vagrant-libvirt/templates/domain.xml.erb
index 7351448..0ac20f1 100644
--- a/lib/vagrant-libvirt/templates/domain.xml.erb
+++ b/lib/vagrant-libvirt/templates/domain.xml.erb
@@ -14,7 +14,7 @@
<% end %>
<os>
- <type arch='x86_64'>hvm</type>
+ <type>hvm</type>
<boot dev='hd'/>
<kernel><%= @kernel %></kernel>
<initrd><%= @initrd %></initrd>
--
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