Detect PowerNV environment

The os_nova role can now detect a PowerNV environment and set the
nova_virt_type variable to 'kvm'.

Change-Id: I5900b957bcd39ce2a5fb9afd7db4d09185733157
This commit is contained in:
Kyle L. Henderson 2016-05-20 17:24:20 -05:00
parent b3c05fa39d
commit c6a667211f
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
features:
- The os_nova role can now detect a PowerNV environment and set the
virtualization type to 'kvm'.

View File

@ -15,7 +15,7 @@
- name: Get virt type value and store as var
shell: |
`which egrep` -c '(vmx|svm)' /proc/cpuinfo
`which egrep` -c '(vmx|svm|PowerNV)' /proc/cpuinfo
register: virt_type_value
changed_when: false
failed_when: false