Great thanks Alax.

Much neater than my work around of commenting out code.

On 27 July 2013 03:53, Alex Huang <alex.hu...@citrix.com> wrote:
> Ian,
>
> Assuming you're on master, I just checked in a bunch of changes yesterday 
> that included this one item.  Every code now retrieves the management server 
> id from ManagementServerNode.java.  For your purposes, you can probably 
> default that code to recognize that there's no mac address and have it read 
> from an environment variable.
>
> --Alex
>
>> -----Original Message-----
>> From: Ian Duffy [mailto:i...@ianduffy.ie]
>> Sent: Friday, July 26, 2013 5:28 PM
>> To: CloudStack Dev
>> Subject: Unable to get the management server node id
>>
>> Hi,
>>
>> I'm unable to start jetty on a openvz based VPS where my nics have no mac
>> address.
>> Any work around for this?
>>
>> Code in question - https://gist.github.com/imduffy15/529f4f01ecb18d3aca21
>>
>> [duffy@neo cloudstack]$ ifconfig
>> lo        Link encap:Local Loopback
>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>           inet6 addr: ::1/128 Scope:Host
>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>           RX packets:9359 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:9359 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:6111602 (5.8 MiB)  TX bytes:6111602 (5.8 MiB)
>>
>> venet0    Link encap:UNSPEC  HWaddr
>> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>>           inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0
>> Mask:255.255.255.255
>>           inet6 addr: 2001:67c:12a0::63e1:7959/128 Scope:Global
>>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
>>           RX packets:359158 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:189532 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:511972416 (488.2 MiB)  TX bytes:16640302 (15.8 MiB)
>>
>> venet0:0  Link encap:UNSPEC  HWaddr
>> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>>           inet addr:91.228.53.85  P-t-P:91.228.53.85
>> Bcast:91.228.53.85  Mask:255.255.255.255
>>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

Reply via email to