mirror of https://github.com/sipwise/ngcpcfg.git
The default Hash::Merge->merge() behaviour is LEFT_PRECEDENT: http://search.cpan.org/~rehsack/Hash-Merge-0.200/lib/Hash/Merge.pm Which means: > The values buried in the left hash will never be lost; > any values that can be added from the right hash will be attempted. So, the values from HOST_CONFIG never overwrites default NGCPCTL_CONFIG: > NGCPCTL_CONFIG="${NGCPCTL_MAIN}/config.yml" > HOST_CONFIG="${NGCPCTL_MAIN}/config.$(hostname).yml" We need to use RIGHT_PRECEDENT order to be in sync with 'scripts/build': > ${NGCPCTL_CONFIG:-} ${HOST_CONFIG:-} ${LOCAL_CONFIG:-} ${NETWORK_CONFIG:-} ${EXTRA_CONFIG_FILES:-} ${CONSTANTS_CONFIG:-} (cherry picked from commitchanges/05/2705/1fe7644d241) Conflicts: helper/tt2-daemon (cherry picked from commitcd58351568) Change-Id: I790b837e991724d8ac1b6b9c6b529e70b3bc337f
parent
bd1ec5107f
commit
6e29c99f91
Loading…
Reference in new issue