Re: cloudstack4.2 dhcp

2013-11-22 Thread Shanker Balan
Comments inline. On 22-Nov-2013, at 10:50 am, Du Jun wrote: > Hi Balan, > Thank you for your reply.I am using ubuntu 10.4 ISO and then transform it > into a qcow2 format template.I only have /var/lib/dhcp/ directory and don't > have /var/lib/dhclient/ directory. > If I insist in using my own tem

Re: cloudstack4.2 dhcp

2013-11-22 Thread Nick Wales
Make sure your interface definitions are set to use DHCP. The fool proof way to get there is to install the ISO to cloudstack, start up an instance using the ISO, setup your networking and take a snapshot. Then you can turn that into a template. There are a few things like removing udev rules and

Re: cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi Balan, Thank you for your reply.I am using ubuntu 10.4 ISO and then transform it into a qcow2 format template.I only have /var/lib/dhcp/ directory and don't have /var/lib/dhclient/ directory.If I insist in using my own tempalate and I want a non-empty file "dhclient.leases",how can I do?Thank yo

Re: cloudstack4.2 dhcp

2013-11-21 Thread Shanker Balan
On 22-Nov-2013, at 6:56 am, Du Jun wrote: > Hi shankerbalan, > I just want to know why my VM's dhclient.leases file is empty?Is there any > problems with my configurations? Du, Are you using the CloudStack provided default CentOS templates? If so, then the dhcp lease file is under /var/lib/dhcl

Re: cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi shankerbalan, I just want to know why my VM's dhclient.leases file is empty?Is there any problems with my configurations? Best regards, DuJun 2013/11/21 Shanker Balan > On 21-Nov-2013, at 7:49 pm, Du Jun wrote: > > > Hi all, > > CloudStack provides API access to attach up to 32KB of u

Re: cloudstack4.2 dhcp

2013-11-21 Thread Shanker Balan
On 21-Nov-2013, at 7:49 pm, Du Jun wrote: > Hi all, > CloudStack provides API access to attach up to 32KB of user data to a > deployed VM. Deployed VMs also have access to instance metadata via the > virtual router. > User data can be accessed once the IP address of the virtual router is > known.

cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi all, CloudStack provides API access to attach up to 32KB of user data to a deployed VM. Deployed VMs also have access to instance metadata via the virtual router. User data can be accessed once the IP address of the virtual router is known. My problem is that,when I try to find the virtual route