aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch')
-rw-r--r--patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch b/patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch
new file mode 100644
index 00000000..37b42341
--- /dev/null
+++ b/patches/fuel-library/0005-Disable-usb-tablet-for-aarch64.patch
@@ -0,0 +1,38 @@
+From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
+Date: Tue, 15 Mar 2016 11:33:52 +0100
+Subject: [PATCH] Disable usb tablet for aarch64
+
+---
+ deployment/puppet/openstack/manifests/compute.pp | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/deployment/puppet/openstack/manifests/compute.pp b/deployment/puppet/openstack/manifests/compute.pp
+index ca1b2c4..c0349dc 100644
+--- a/deployment/puppet/openstack/manifests/compute.pp
++++ b/deployment/puppet/openstack/manifests/compute.pp
+@@ -316,6 +316,10 @@ class openstack::compute (
+ nova_config {
+ 'libvirt/live_migration_flag': value => 'VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST';
+ 'libvirt/block_migration_flag': value => 'VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_NON_SHARED_INC';
++ 'libvirt/use_usb_tablet': value => $::architecture ? {
++ /(arm64|aarch64)/ => false,
++ default => true,
++ }
+ }
+
+ nova_config {
+@@ -364,6 +368,14 @@ class openstack::compute (
+ # Workaround for bug LP #1469308
+ # also service name for Ubuntu and Centos is the same.
+ libvirt_service_name => "libvirtd",
++ } ->
++ package { 'vgabios':
++ ensure => present;
++ } ->
++ file { '/usr/share/qemu/vgabios-stdvga.bin':
++ ensure => link,
++ target => '/usr/share/vgabios/vgabios.bin',
++ replace => false,
+ }
+
+ # From legacy libvirt.pp