Hi all, Sorry in advance for this dummy question, but I don''t found any doc about. ¿Can I rename the domU? ¿Why? -- Thanks, Jordi Espasa Clofent _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, Jordi Espasa Clofent schrieb:> Sorry in advance for this dummy question, but I don''t found any doc about. > > ¿Can I rename the domU? ¿Why?ähm, change the name in the configfile? /etc/xen/oldname.* ? cu denny _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jordi Espasa Clofent wrote:> Hi all, > > Sorry in advance for this dummy question, but I don''t found any doc > about. > > ¿Can I rename the domU? ¿Why? >Yes. Shut it down, edit your configuration files, and restart it. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia escribió:> Jordi Espasa Clofent wrote: >> Hi all, >> >> Sorry in advance for this dummy question, but I don''t found any doc >> about. >> >> ¿Can I rename the domU? ¿Why? >> > Yes. Shut it down, edit your configuration files, and restart it. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersAnd isn''t it possible to do it on the air (without shutting down anything)? Miguel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Yes. Shut it down, edit your configuration files, and restart it.Thanks Nico. It has been very easy: change two parameters inside config file, the config file name and itself and the image config file. It works very fine. No problem. But I''ve discovered an odd behaviour: hostname doesn''t persists in systems inside domU. Example: Inside domU I''ve a system which is called NameA originally. I access into this domU and changing the name with hostname(1) to new name, NameB. When I reboot this system, appears NameA again; so, the action made by hostname(1) is not persistent. ¿?¿?¿ -- Thanks, Jordi Espasa Clofent _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jordi Espasa Clofent wrote:>> Yes. Shut it down, edit your configuration files, and restart it. > > Thanks Nico. It has been very easy: change two parameters inside > config file, the config file name and itself and the image config file. > > It works very fine. No problem. > > But I''ve discovered an odd behaviour: hostname doesn''t persists in > systems inside domU. > > Example: > > Inside domU I''ve a system which is called NameA originally. I access > into this domU and changing the name with hostname(1) to new name, > NameB. When I reboot this system, appears NameA again; so, the action > made by hostname(1) is not persistent.Note that that''s a Linux configuration issue, not a Xen issue. Which Linux distro are you using? Most of them store their hostname in /etc/sysconfig/network, which is read at boot time and used to set hostname. There is also usually a GUI or command line tool for gracefully editing this Hostname can be important for any software that is hostname sensitive, such as some web servers, some SSH configurations, and backup tools, and is thus one of the first things set on a system. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Note that that''s a Linux configuration issue, not a Xen issue.Yes.> Which Linux distro are you using? Most of them store their hostname in > /etc/sysconfig/network, which is read at boot time and used to set > hostname. There is also usually a GUI or command line tool for > gracefully editing thisCentOS 5. You''ve all the reason: changing the value of HOSTNAME parameter in /etc/sysconfig/network has been enough. -- Thanks, Jordi Espasa Clofent _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jordi Espasa Clofent wrote:>> Note that that''s a Linux configuration issue, not a Xen issue. > > Yes. > >> Which Linux distro are you using? Most of them store their hostname >> in /etc/sysconfig/network, which is read at boot time and used to set >> hostname. There is also usually a GUI or command line tool for >> gracefully editing this > > CentOS 5. > You''ve all the reason: changing the value of HOSTNAME parameter in > /etc/sysconfig/network has been enough.Ahh. That system has system-config-network, and used to have netconfig in previous releases, for just this sort of setup. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users