[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] virt-install & kickstart
- To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
- From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
- Date: Mon, 13 Aug 2007 15:02:05 +0530
- Cc: Brent Meshier <brent@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Mon, 13 Aug 2007 02:32:33 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=lt3PzY+4JByzkrIggq/xopGI9CqXT5xOpS07PD5XQiyJ5ntqNrtiZp9Gtj8DXwKLhGd2R/ZYedh6BhLMGN7nZosamdWWE6mVrJ9C9HH/ToIZed3YFkfMYwROnQmz5a0Y31+xh67UfzICri7E+Ne8iVBi5GhYkJZAWK18iI12C1A=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
Daniel,
Could we pass the configuration file at nfs location instead of at webserver ?
Thanks,
Trilok
On 6/2/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Fri, Jun 01, 2007 at 03:31:26PM -0400, Brent Meshier wrote: > Maybe I'm going about this the wrong way, but I want to create 10 > virtual domains each with their own IP (172.16.10.150
-> 172.16.10.160) > > > > I was using virt-install, but I then have to modify the kickstart file, > changing the IP address manually each time. Is there an easier way
> where I can specify the IP address for eth0 on the command line? > > > > virt-install > -p-location=http://172.16.10.101/x86_64/-noautoconsole-file=/dev/vg_xen/
> lv_dom1-name=dom1-ram=4096-vnc -x "ks=http://172.16.10.101/ks.cfg > ip=172.16.10.150 netmask=
255.255.255.0 dns=65.24.7.6 > gateway=172.16.10.1"
One option since your kickstart is already being hosted on a web server is to simply make the kickstart file be a CGI script - and have a parameter
you pass to it to substitute in the IP address. eg,
-x "ks=http://172.16.10.101/ks.cfg?ip=172.16.10.150"
Or getting slightly more advanced, instead of passing in an IP address,
pass in a MAC address & then use that mac to lookup a whole bunch of per-host custom parameters for your kickstar
Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/
-=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
_______________________________________________ Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|