Re: Re: [vserver] how to use 'skeleton' method to create a vps?

From: songjun435 <>
Date: Wed 29 Feb 2012 - 10:57:34 GMT
Message-ID: <>

Thank you!
But I have another question.
First,I create vps as follows with the argument '--initstyle plain':
1. vserver nova build -m skeleton --hostname nova --interface eth0: --initstyle plain
2. copy the host directories to the guest directory(/vservers/nova),
copy -ax /bin /sbin /lib /lib64 /vservers/nova
3. vserver nova start
 then the vps named nova has been created successfully,and the nova has a ip which can be pinged. Everything is OK here!

Second, I create another vps as follows without the argument '--initstyle plain':
1.vserver nova1 build -m skeleton --hostname nova1 --interface eth0:
2. copy the host directories to the guest directory(/vservers/nova1),
copy -ax /bin /sbin /lib /lib64 /vservers/nova1
3. vserver nova1 start
but,some errors:
No command given; use '--help' for more information.
An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
() failed.

Common causes are:
* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
  method knows how to deal with this, but on existing installations,
  appending 'true' to this file will help.

Failed to start vserver 'nova1'

so,could you tell me why the second failed which without the '--initstyle plain'?
I do not know what is the meaning of initstyle.
I found I can only know it through the cmd 'vserver - build --help',but it not enough to let me understand it ...,could you know any other documents to explain the command?
Thank you!


From: Daniel Hokka Zakrisson
Date: 2012-02-29 18:13
To: vserver
Subject: Re: [vserver] how to use 'skeleton' method to create a vps?
songjun435 wrote:
> hi~
> how could I build a vps by the method "skeleton"?
> I use it like this:
> 1. vserver nova build -m skeleton --hostname --interface
> eth0:

The skeleton build method doesn't actually build a guest. It builds a skeleton.
It's then up to you to populate it with everything that is needed to be a

> <snip>
> so,could you tell me something wrong? how should I use 'skeleton' to create a vps?
> or could you tell how should I to create a vps without the network except the old 'legacy'
> method?
> BTW,I use the CentOS,

You could point yum at e.g. a DVD and use that to install guests.
If you have no media and no network connection, you are pretty much
limited to copying the host and performing significant cleaning...

Daniel Hokka Zakrisson
Received on Wed Feb 29 10:57:48 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 29 Feb 2012 - 10:57:48 GMT by hypermail 2.1.8