From 91afd14ddca72fa6b1b2d204ed83b5a3a4a981b4 Mon Sep 17 00:00:00 2001 From: Shankar Narayanan Date: Mon, 14 May 2018 20:51:39 -0400 Subject: [PATCH] Fix oof vm init script Fix the sed line numbers in the OOF VM init script. Issue-ID: OPTFRA-234 Change-Id: Ibe0ed9d284782dd0f05059ea526256f8693bf879 Signed-off-by: Shankar Narayanan --- boot/oof_vm_init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/oof_vm_init.sh b/boot/oof_vm_init.sh index 717a16e9..7b0cc4c9 100644 --- a/boot/oof_vm_init.sh +++ b/boot/oof_vm_init.sh @@ -171,8 +171,8 @@ MUSIC_URL=$(docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddre # Set A&AI and MUSIC url inside OOF-HAS conductor.conf sed -i "138 s%.*%server_url = https://aai.api.simpledemo.onap.org:8443/aai%" $COND_CONF sed -i "141 s%.*%server_url_version = v13%" $COND_CONF -sed -i "250 s%.*%server_url = http://$MUSIC_URL:8080/MUSIC/rest/v2%" $COND_CONF -sed -i "277 s%.*%replication_factor = 1%" $COND_CONF +sed -i "257 s%.*%server_url = http://$MUSIC_URL:8080/MUSIC/rest/v2%" $COND_CONF +sed -i "284 s%.*%replication_factor = 1%" $COND_CONF # Set A&AI authentication file locations inside OOF-HAS conductor.conf sed -i "153 s%.*%certificate_authority_bundle_file = $AAI_cert%" $COND_CONF @@ -219,7 +219,7 @@ curl -X POST \ "name": "foo", "recommend_max": 1, "solution": "{\"healthcheck\": \" healthcheck\"}", - "status": "solved", + "status": "done", "template": "{\"healthcheck\": \"healthcheck\"}", "timeout": 3600, "translation": "{\"healthcheck\": \" healthcheck\"}", -- 2.16.6