LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » HyperVM Community Support » HyperVM Xen » Xen template console hvc0
Xen template console hvc0 [message #91396] Tue, 22 November 2011 08:44 Go to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
When a Xen virtual machine is rebuilt, HyperVM slips its own inittab into the machine. This sets the tty to /bin/sh so that when you connect through xen console or SSH to the host with the VM name, you go right to the shell.

My problem with this is that you go right into the OS without authenticating as a user on the system and the shell behaves badly anyway. So I fixed this in a template by modifying inittab, but on rebuild HyperVM slips its own back in.

I would like to modify HyperVM to keep it from doing this. My thought is that it would give the template creator more control over how the template behaves and you could still have that "feature" by adding in that inittab yourself.

Any thoughts?


https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Xen template console hvc0 [message #91470 is a reply to message #91396] Wed, 23 November 2011 08:15 Go to previous message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
This actually pulls it from a file in the HyperVM program path. This may be wrong as I am doing this from memory but it is something like:

/usr/local/lxlabs/hypervm/files/sysfile/inittab/

If you want a better console, though you will be prompted to login further, you would use hvc0 for most distros. I am still testing it out and having some issues, but you would use xvc0 for CentOS 5 because of the kernel version.


https://www.mercuryvps.com
HyperVM Xen VPS hosting
Previous Topic:Partition Scheme - Xen
Next Topic:Mysql problem...
Goto Forum:
  


Current Time: Sun May 19 21:36:18 EDT 2013

Total time taken to generate the page: 0.01052 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software