It seems for LX zones it doesn't set it to netX, it's able to set it to eth0 by 
vm spec and by default (without setting interface string), and shows as eth0 
from within the VM.

Though, (from what I read earlier) dhcp for LX zones aren't supported yet, so 
the interface won't have an address.

On September 24, 2015 3:14:26 AM EDT, Ian Collins <[email protected]> wrote:
>Eric wrote:
>> Creating a joyent brand VM does not take the interface option. It 
>> doesn't take it when the vm is being created, nor when updating the
>vm.
>>
>> The interface field is set to net0 after the vm is created, even 
>> though the field is set to "eth0" in the vm spec.
>>
> From the vmadm man page:
> 
> nics.*.interface:
> 
> This is the interface name the the VM will see for this
> interface. It
> will always be in the format netX where X is an integer >= 0.
> 
> type: string (netX)
> vmtype: OS,KVM
> listable: yes (see above)
> create: yes
> update: no
> 
> --
> Ian.
> 



-------------------------------------------
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