Dhcp client omnios
From Asenjo
- release lease:
ifconfig nicname dhcp release
- request lease:
ifconfig nicname dhcp start
- dynamic dns with dnsmasq (at least):
as indicated in /etc/default/dhcpagent, edit/create /etc/hostname.nicname with this info: inet hostname
then release and request a dhcp lease. Your dnsmasq leases database contains then the host name, and the dnsmasq dns server is updated with the hostname
update
if you touch the file /etc/dhcp.interface_name (like vnic1, bge0, etc), you do not need to do anything. Just ifconfig nicname dhcp release/start and everything will just work