I would like to be able to rename Android Zebra TC devices that have been relocated to particular groups based on IP subnet rules. I need the new device name to contain 3 variables. Group name (ex. VAMAR3), the device type (this will always be RF for our organization), and the last 6 characters for the network assigned hostname.
I am able to rename the devices to the complete %HOSTNAME% macro (android-6458060d3fff70bb.xxxxx.net in this case), but I have not been able to find a way to select the 6 last characters or set the rest of the variables needed.
The complete name on this example would be VAMAR3RFff70bb. Again, I want to do this for each device when they get relocated based on the IP.
Any assistance would be appreciated.