[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Is there a way for a domu to find out its name
Something like: extra="domU_name=myname" in the config would work. Then, on the domU itself, you could cat /proc/cmdline to get the list of kernel boot options. HTH, - gino ledesma On 8/25/05, Nicholas Lee <emptysands@xxxxxxxxx> wrote: > On 8/26/05, Eric Brown <yogieric@xxxxxxx> wrote: > > I'd like to be able to start with the same disk-image for every domu > > but have it pick up its hostname by knowing the name it was assigned > > in its xen config file in dom0. > > You could pass the system name via the boot kernel options and pick > this up in the in the init scripts. > > I don't have a receipe of the top of my head, but probably something > easy to google. > > -- > Nicholas Lee > http://stateless.geek.nz > gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C > > _______________________________________________ > 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |