File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -175,9 +175,11 @@ OPENSTACK_CLOUD_PROVIDER_CONF10=$(echo "${OPENSTACK_CLOUD_PROVIDER_CONF}" | sed
175
175
176
176
if [[ " $CACERT_ORIGINAL " != " null" ]]; then
177
177
export OPENSTACK_CLOUD_CACERT_CONFIG6
178
- OPENSTACK_CLOUD_CACERT_CONFIG6=$( cat " $CACERT_ORIGINAL " | sed -e ' s/^/ /' )
178
+ OPENSTACK_CLOUD_CACERT_CONFIG6=" $( cat " $CACERT_ORIGINAL " | head -1)
179
+ $( cat " $CACERT_ORIGINAL " | tail -n +2 | sed -e ' s/^/ /' ) "
179
180
export OPENSTACK_CLOUD_CACERT_CONFIG10
180
- OPENSTACK_CLOUD_CACERT_CONFIG10=$( cat " $CACERT_ORIGINAL " | sed -e ' s/^/ /' )
181
+ OPENSTACK_CLOUD_CACERT_CONFIG10=" $( cat " $CACERT_ORIGINAL " | head -1)
182
+ $( cat " $CACERT_ORIGINAL " | tail -n +2 | sed -e ' s/^/ /' ) "
181
183
fi
182
184
183
185
echo " ${OPENSTACK_CLOUD_CONFIG_SELECTED_CLOUD} " > ${CLOUDS_SECRETS_CONFIG_DIR} /clouds.yaml
You can’t perform that action at this time.
0 commit comments