terminal – Why does my Mac Professional’s hostname preserve altering to ‘HUAWEI_Y6_2019-…’?


My MacBook Professional (operating BigSur 11.2.1) now – since I rebooted it final night time – retains exhibiting the host title as ‘HUAWEI_Y6_2019-{hhhhhhhhhh}’ within the bash immediate. (The hh’s are a 10-digit hex string.)

The hostname command likewise stories this worth.

In System Preferences > Sharing, Laptop Identify nonetheless reveals as ‘macbook’ (which is what the immediate used to say). I’ve tried enhancing that, then enhancing it again, and that mounted the immediate for brand new bash classes – for some time. Now it has began doing it once more.

These aren’t distant bash classes simply bash shells on the native machine.

Does anybody have any concept why this is likely to be occurring? Or the place the worth is coming from?

So far as I am conscious there is no Huawei {hardware} on my residence community (until the ‘BT’ badged hub is known as a Huawei field).

UPDATE: I’ve reviewed OS X pc title not matching what reveals on terminal however that appears to check with a distant bash session. That’s not the case right here.