From d5a6372b52e5dc984e000047d5b8407e0cd473f5 Mon Sep 17 00:00:00 2001 From: Mukul Malhotra Date: Thu, 28 Apr 2022 14:09:33 +0530 Subject: [PATCH] OVA: Minor changes to validate CSM endpoint (#1496) * port number added in curl command Signed-off-by: Mukul Malhotra * added minor change Signed-off-by: Mukul Malhotra * minor change to remove hostname from curl Signed-off-by: Mukul Malhotra * minor change to remove hostname from curl Signed-off-by: Mukul Malhotra * minor changes Signed-off-by: Mukul Malhotra * minor changes Signed-off-by: Mukul Malhotra --- .../2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/ova/2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst b/doc/ova/2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst index 6592cc9cede..4bca24e2e33 100644 --- a/doc/ova/2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst +++ b/doc/ova/2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst @@ -69,13 +69,12 @@ Procedure Validate CSM endpoint via REST API ********************************** -#. Validate the CSM endpoint using below command. Use hostname or ipaddress as per your VM +#. Validate the CSM endpoint using below command: :: - - curl --request POST '' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k - curl --request POST ':31169/api/v2/login?debug>' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k + export IPADDRESS=`ifconfig ens32 | grep inet -w | awk '{print $2}'` && echo $IPADDRESS + curl --request POST 'https://$IPADDRESS:31169/api/v2/login?debug' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k