X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-configure-clouds.sh;h=47023f7d4132395afc471fd16764f5c555947ddb;hb=7255eaaa4f73e7867f0a64199b5b45cb92e8fbfc;hp=0b30c59b5d0bc7460b30731dfd06826b4b04bd6c;hpb=38f7e0e5a63228585159892b4a48468d110093e4;p=releng%2Fglobal-jjb.git diff --git a/shell/jenkins-configure-clouds.sh b/shell/jenkins-configure-clouds.sh index 0b30c59b..47023f7d 100644 --- a/shell/jenkins-configure-clouds.sh +++ b/shell/jenkins-configure-clouds.sh @@ -166,7 +166,9 @@ get_minion_options() { volume_size=$(get_cfg "$cfg_file" VOLUME_SIZE "") hardware_id=$(get_cfg "$cfg_file" HARDWARE_ID "") network_id=$(get_cfg "$cfg_file" NETWORK_ID "") - user_data_id=$(get_cfg "$cfg_file" USER_DATA_ID "jenkins-init-script") + + udi_default="$(get_cfg "$(dirname $cfg_file)/cloud.cfg" USER_DATA_ID "jenkins-init-script")" + user_data_id=$(get_cfg "$cfg_file" USER_DATA_ID "$udi_default") # Handle Sandbox systems that might have a different cap. instance_cap=$(get_cfg "$cfg_file" INSTANCE_CAP "null")