On 6/4/14 15:33 , Ian Collins wrote:
> Robert Mustacchi via smartos-discuss wrote:
>> On 6/4/14 15:17 , Ian Collins via smartos-discuss wrote:
>>> If there a supported way (other than |qemu_extra_opts) to specify
>>> additional DHCP options to an interface?  Specifically I'd like to
>>> specify the domainname.  I'm testing some very minimal (25MB iso!) Linux
>>> installs from another group which need to know their domain on first
>>> boot.
>> The QEMU dhcp bits that we wrote are based on the ones that we added to
>> QEMU. If someone went through and added support for the domainname to
>> our QEMU dhcp bits, then we'd be happy to plumb it through in vmadm and
>> make it option. Otherwise, there is no 'qemu_extra_opts' you can use for
>> this purpose.
> 
> That sounds like a challenge for a winter's evening!  Any pointers to
> the source?

You probably want to look at:

https://github.com/joyent/illumos-kvm-cmd/blob/master/net/vnic.c
https://github.com/joyent/illumos-kvm-cmd/blob/master/net/vnic-dhcp.c

> On another point, I found an old post in my archives form 2012 where you
> mentioned the vmadm man page describes how to set up the json for an
> interface to use an external DHCP server.
> 
> Is that still an option?  It isn't in the current man page.

It is. You just set nics.*.ip to dhcp. Unless I'm misunderstanding what
you want.

Robert


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to