Merge "Remove hack to reformat os-apply-config output"

This commit is contained in:
Jenkins 2015-01-14 22:25:42 +00:00 committed by Gerrit Code Review
commit 896a082117
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Configure sysctl settings based on Heat metadata.
set -eu
SYSCTL_DATA=$(os-apply-config --key sysctl --type raw --key-default '' | sed "s/u'/'/g"|sed "s/'/\"/g")
SYSCTL_DATA=$(os-apply-config --key sysctl --type raw --key-default '')
SYSCTL_KEYS=$(jq keys <<< $SYSCTL_DATA)
COUNT=$(($(jq length <<< $SYSCTL_KEYS) - 1))
for i in $(seq 0 $COUNT); do