<- Chrome Settings Library

DeviceHostnameTemplate

Device network hostname template
Last updated October 8, 2024

Setting the policy to a string applies the string as the device hostname during DHCP request. The string can have variables ${ASSET_ID}, ${SERIAL_NUM}, ${MAC_ADDR}, ${MACHINE_NAME}, ${LOCATION} to be replaced with values on the device before using it as a hostname. The resulting substitution should be a valid hostname (per RFC 1035, section 3.1). Leaving the policy unset or if the value after substitution isn't a valid hostname, no hostname is set in DHCP request.

Supported On:
Platform Start End
ChromeOS 65
Example value:

"chromebook-${ASSET_ID}"

Features: