As mentioned the only other way I can think of is creating a VLAN interface at the Switch end of the trunk for the management VLAN and sticking a DHCP client on that.
Nope. Since trunk port is member of bridge, then any other business with that port is strictly off limits.
Instead you should configure that port as tagged (
frame-types=admit-only-vlan-tagged ingress-filtering=yes), add it as tagged member of all necessary VLANs (including management VLAN). Now comes the magic: bridge (the CPU-facing virtual switch)
port should be added to tagged members of management VLAN (so there will be at least two such members, trunk port and bridge port) and you should create vlan interface with vlan-id set to management VLAN ID and anchored to bridge
interface. As the last step you can set bridge
interface with
frame-types=admit-only-vlan-tagged to cut the untagged bridge acccess to networks (this makes pvid setting on bridge port irrelevant).
Then use the vlan interface to setup management IP address and the rest of bells and whistles.
And the above is essentially what setting "management VLAN" to some VID does on GUI-driven switches.