AFAICS you set a static hostname, but you also left the default for "Set hostname via DHCP" to the default "any". That would explain why you did get your manually set hostname for a short while, but as soon as there was any operation on that interface, it was reset.