On 2/22/07, Frank D <mailing@xxxxxxxxxxxxxxxx> wrote:
I worte a little perl script, which asks me how many xen guests I want to
create, e.g. 3 , and the
it creates 3 xen-guests automatically. The basis is an installed
debian-guest-vm, which would be
just renamed and copied, and its config file at /etc/xen.
check out xen-tools. It does not have a feature to copy a vm 3 times
with one call, but it can use image templates and adjust them,
probably it will also handle setting the hostname right.
It is made by a debian developer, mainly for debian, but it runs quite
nice on fedora and suse, too.
it boots up, but its hostname and ip address is not the (new) one i configured
in the
/etc/xen/<newconfigfile>, but the one of the basis image!
Wheres the mistake?
Not enough doc reading about Xen and it's architecture, and the config
parameters :)
xm doesn't change the settings inside of a guest.
The "name" setting in a VM config is NOT the dns hostname, and not the
/etc/hostname.
Often, one wants to have it like that, but this is not Xen's job.
Henning
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|