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:
parent
b3c05fa39d
commit
c6a667211f
4
releasenotes/notes/detect_power-a6a679c8c3dd3262.yaml
Normal file
4
releasenotes/notes/detect_power-a6a679c8c3dd3262.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- The os_nova role can now detect a PowerNV environment and set the
|
||||
virtualization type to 'kvm'.
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user