Hi Federico thanks for the feedback. I'll look into it the uci defaults. Do you guys intend to support the "_" as part of the hostname? Can I manually disable this verification on the sever?
Em seg, 14 de out de 2019 às 19:10, Federico Capoano < [email protected]> escreveu: > Hi João, > > at the moment there's no built-in openwisp feature to automate this. > > What you can do is to create a custom OpenWRT image which has a script > which automatically sets the hostname based on your requirements. > > Take a look here: https://openwrt.org/docs/guide-developer/uci-defaults > > Federico > > On Mon, Oct 14, 2019 at 4:48 PM João Henrique Albuquerque < > [email protected]> wrote: > >> >> Hi is it possible to customize the hostname default with netjson config? >> I would like to add a prefix on the devices hostname separete by a common >> value. Today I'm using underscore '_' which dosen't allow registration. >> After subscribing I would have something like 'OrgName_APMAC' >> >> Ideally I would like to keep the underscore but I understand this could >> be an issue with the RFC for the hostname. >> >> Cheers >> >> -- >> You received this message because you are subscribed to the Google Groups >> "OpenWISP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/openwisp/71682af9-587b-4848-9321-56f8583607e5%40googlegroups.com >> <https://groups.google.com/d/msgid/openwisp/71682af9-587b-4848-9321-56f8583607e5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/CAERYH6WDV%3DfivKef5NHZYuo%2Bb%2BPMKTxVoZnK%3Dnb8s3KD2xrVXA%40mail.gmail.com > <https://groups.google.com/d/msgid/openwisp/CAERYH6WDV%3DfivKef5NHZYuo%2Bb%2BPMKTxVoZnK%3Dnb8s3KD2xrVXA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAO5jQiZka9kO%2B0Nyx_cw2qDe6fCvagrbwwx7ya8NtY5qGFsUyA%40mail.gmail.com.
