Modifications to init_undercloud.sh to handle json files