MT#8067 Generate /etc/ngcp_hostname

vseva/8067
Victor Seva 12 years ago
parent 4222a91f98
commit 40e5e35bfa

@ -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}')

Loading…
Cancel
Save