Host derive params default hugepage flag fix

This change is to update the correct flag to validate
whether default huge page size 1GB is not supported
or not in the environment.

Change-Id: I51011bfc7c85cbf6789fc68e2cac210016960aba
This commit is contained in:
Jaganathan Palanisamy 2017-08-01 08:00:51 -04:00
parent f099e3c65c
commit 34a977901c
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ workflows:
check_default_hugepage_supported:
publish:
default_hugepage_supported: <% $.hw_data.get('inventory', {}).get('cpu', {}).get('flags', []).contains('cpu_hugepages_1g') %>
default_hugepage_supported: <% $.hw_data.get('inventory', {}).get('cpu', {}).get('flags', []).contains('pdpe1gb') %>
on-success:
- get_total_memory: <% $.default_hugepage_supported %>
- set_status_failed_check_default_hugepage_supported: <% not $.default_hugepage_supported %>