From c5bcb165ccd0241510d3b19835ec63dc59835302 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sun, 4 Aug 2019 18:34:05 +0300 Subject: [PATCH] builder: fix ROS_HOSTNAME value in .bashrc --- builder/image-ros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/image-ros.sh b/builder/image-ros.sh index 9f1913c5..e77d5cd3 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -192,7 +192,7 @@ cat << EOF >> /home/pi/.bashrc LANG='C.UTF-8' LC_ALL='C.UTF-8' ROS_DISTRO='kinetic' -export ROS_HOSTNAME='raspberrypi.local' +export ROS_HOSTNAME=\`hostname\`.local source /opt/ros/kinetic/setup.bash source /home/pi/catkin_ws/devel/setup.bash EOF