builder: fix ROS_HOSTNAME value in .bashrc

This commit is contained in:
Oleg Kalachev
2019-08-04 18:34:05 +03:00
parent 1538ec33f7
commit c5bcb165cc

View File

@@ -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