I run dnsmasq as my DHCP server and it's configured to provide static leases to known MAC addresses. I don't want it handing out leases to unknown clients. Each Transfer VM instance has a unique local MAC, so no prefix that I can match, and no other identifying information (hostname, client id, enterprise vendor classes, etc.). It provides udhcp 1.12.4 as the vendor class, but that could match other hosts as well. This makes it impossible for me to configure dnsmasq to hand out dynamic IPs to Transfer VMs without also doing the same for all other hosts. Configuring a static IP for each import/export operation is a bit annoying.
Would it be possible to have each Transfer VM generate a dynamic hostname with a fixed prefix (e.g. transfervm-<random>) and provide some other unique identifier in the DHCP request?
As a workaround, is there some easy way for me to modify /sbin/hotplug on the Transfer VM template, which is where I think this change needs to be made? I tried poking around a running Transfer VM, but couldn't quite figure out what's stored where.