On Tue, January 5, 2010 9:58 am, Daniel Lam wrote:
> Hi All,
>
> Hope I'm not too annoying yet..
>
> I have CentOS 5.4 running as Domain 0.
> I can create CentOS guest domains via network using virt-install.
> However that's a bit slow, and I don't want to repeat the
> download process again if I create new guest domains.
>
> So my questions:
>
> - Can I create guest CentOS domains using virt-install
> and specify a dvd iso image as its installation source?
>
> - If I can, where can I obtain the iso images? Should I
> just use the standard installation iso images? However
> I actually tried specifying "cd-rom" as installation source
> before, hoping that I could create a guest domain
> using the DVD I already burnt. However it says
> "Paravirtualized guests cannot install off cdrom media".
>
>
> For the record, I also tried creating guest domains just by
> "xm create" as well, however it threw some errors to me
> when it tries to change the partition table. Not sure why.
> Don't want to spend time on that approach.attachments.
Hi Daniel,
investigate the '--location' parameter to virt-install. You can specify
an image to load over http, NFS, etc. -many people do it this way. If you
don't have an external NFS box to hand you can run one from the dom0 if
you have to, although I would suggest you add some iptables rules to
restrict access to it.
IMHO, you shouldn't run anything that you don't absolutely need on the
dom0 - maybe only SSH. You can always create a small domU to serve VM
images, do DHCP etc. and keep the dom0 being, well, just a dom0! :-)
Hope this helps,
Matt.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|