Skip to content

Commit f249fcb

Browse files
committed
Update gateway_eui retrieval for new images
1 parent 5dba8e0 commit f249fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rakpios-cli-service-deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ do_print_post_up_info() {
391391
container_name_raw=$(do_get_property "$service_to_start" name)
392392
docker_container_id=$(docker ps -aqf name=${container_name_raw})
393393
sleep 5
394-
GATEWAY_EUI=$(docker exec -it ${container_name_raw} ./get_eui.sh | tr -cd '[a-zA-Z][0-9]'|sed s/GatewayEUI//)
394+
GATEWAY_EUI=$(docker exec -it ${container_name_raw} gateway_eui | tr [a-z] [A-Z] | cut -d' ' -f3)
395395
whiptail --title "Notes" --msgbox "Container id : $docker_container_id \nGateway EUI : $GATEWAY_EUI \n \n$post_up_info" 30 78
396396

397397
# Portainer post-up

0 commit comments

Comments
 (0)