Remove colons from hostname in arm64 host image

This fixes an issue where the hostnamectl doesn't
accept colons, which misaligns with the change
in the /etc/hosts file. Without colons, the
hostnames are consistent.

Bug: 144802358
Test: local build and run
Change-Id: I6ca821c08fe0d2020462861d7908a14dc74c4127
Signed-off-by: Tristan Muntsinger <muntsinger@google.com>
diff --git a/tools/create_base_image_arm.sh b/tools/create_base_image_arm.sh
index d79334b..5f4cb13 100755
--- a/tools/create_base_image_arm.sh
+++ b/tools/create_base_image_arm.sh
@@ -481,7 +481,7 @@
 #!/bin/bash
 echo "Installing cuttlefish-common package..."
 echo "nameserver 8.8.8.8" > /etc/resolv.conf
-MAC=`ip link | grep eth0 -A1 | grep ether | sed 's/.*\(..:..:..:..:..:..\) .*/\1/'`
+MAC=`ip link | grep eth0 -A1 | grep ether | sed 's/.*\(..:..:..:..:..:..\) .*/\1/' | tr -d :`
 sed -i " 1 s/.*/& rockpi-${MAC}/" /etc/hosts
 sudo hostnamectl set-hostname "rockpi-${MAC}"