I have a kickstart file created that works great for installing CentOS on PVM''s and now I want to use it for HVM''s as well. The problem is that when I attempt to run the install, it seems to ignore the kickstart and starts prompting me for all the things I already have specified in the kickstart. Any idea what I could be doing wrong? Here is the command im using to get things started: virt-install --hvm --location=http://mirrors.liquidweb.com/CentOS/5.2/os/x86_64 --noautoconsole --file=/dev/XenVol/XenVE2 --name=testvm2 --ram=512 --network bridge:xenbr1 --vnc -x "ks=http://blah.com/client_work/kickstart.txt ip=67.xx.xx.xx netmask=255.255.xxx.0 dns=208.67.222.222 gateway=67.xxx.xxx.x" Note: I did modify the kickstart to use "hda" for partitioning versus "xvda". Thanks, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Chaney
2008-Sep-26 15:11 UTC
RE: [Xen-users] virt-install HVM with url and kickstart?
Doesn''t seem to be much information on doing url based installs for hvm''s and using kickstarts with that. The install obviously starts (aka, it starts me at the first page of the CentOS install), but its like its not recognizing that there is even a kickstart attempt. Id really appreciate some help here. Pretty please? =P -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mark Chaney Sent: Thursday, September 25, 2008 4:50 PM To: xen-users@lists.xensource.com Subject: [Xen-users] virt-install HVM with url and kickstart? I have a kickstart file created that works great for installing CentOS on PVM''s and now I want to use it for HVM''s as well. The problem is that when I attempt to run the install, it seems to ignore the kickstart and starts prompting me for all the things I already have specified in the kickstart. Any idea what I could be doing wrong? Here is the command im using to get things started: virt-install --hvm --location=http://mirrors.liquidweb.com/CentOS/5.2/os/x86_64 --noautoconsole --file=/dev/XenVol/XenVE2 --name=testvm2 --ram=512 --network bridge:xenbr1 --vnc -x "ks=http://blah.com/client_work/kickstart.txt ip=67.xx.xx.xx netmask=255.255.xxx.0 dns=208.67.222.222 gateway=67.xxx.xxx.x" Note: I did modify the kickstart to use "hda" for partitioning versus "xvda". Thanks, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2008-Sep-26 15:52 UTC
Re: [Xen-users] virt-install HVM with url and kickstart?
On Fri, Sep 26, 2008 at 10:11 AM, Mark Chaney <macscr@macscr.com> wrote:> I have a kickstart file created that works great for installing CentOS on > PVM''s and now I want to use it for HVM''s as well. The problem is that when I > attempt to run the install, it seems to ignore the kickstart and starts > prompting me for all the things I already have specified in the kickstart. > Any idea what I could be doing wrong? Here is the command im using to get > things started: > > virt-install --hvm > --location=http://mirrors.liquidweb.com/CentOS/5.2/os/x86_64 --noautoconsole > --file=/dev/XenVol/XenVE2 --name=testvm2 --ram=512 --network bridge:xenbr1 > --vnc -x "ks=http://blah.com/client_work/kickstart.txt ip=67.xx.xx.xx > netmask=255.255.xxx.0 dns=208.67.222.222 gateway=67.xxx.xxx.x" > > Note: I did modify the kickstart to use "hda" for partitioning versus > "xvda".I haven''t done what you''re trying, exactly, but based on the prompting, I''d guess the vm cannot retrieve the ks file. For example, maybe it has no network access. jerry -- There''s plenty of youth in America - it''s time we find the "fountain of smart". _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2008-Sep-26 16:41 UTC
Re: [Xen-users] virt-install HVM with url and kickstart?
Please don''t reply directly. On Fri, Sep 26, 2008 at 11:37 AM, Mark Chaney <macscr@macscr.com> wrote:> Nah, if it didn''t have network access, it would have given me an error that > it couldn''t access it (at least that''s how it works with PVM''s)It''s not a PVM, right... -- There''s plenty of youth in America - it''s time we find the "fountain of smart". _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users