From 40e5e35bfa19b405badfba4d1233c9d774553129 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 9 Jul 2014 17:02:24 +0200 Subject: [PATCH] MT#8067 Generate /etc/ngcp_hostname --- deployment.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment.sh b/deployment.sh index 671e326..b4d0138 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1086,6 +1086,9 @@ if "$PRO_EDITION" ; then fi fi +echo "Writing $HOSTNAME to /etc/ngcp_hostname" +echo $HOSTNAME > $TARGET/etc/ngcp_hostname + if "$PRO_EDITION" && [[ $(imvirt) != "Physical" ]] ; then echo "Generating udev persistent net rules." INT_MAC=$(udevadm info -a -p /sys/class/net/${INTERNAL_DEV} | awk -F== '/ATTR{address}/ {print $2}')