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:192.168.155.50 --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 192.168.155.50 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:192.168.155.51
2. copy the host directories to the guest directory(/vservers/nova1),
copy -ax /bin /sbin /lib /lib64 /vservers/nova1
3. vserver nova1 start
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
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?
From: Daniel Hokka Zakrisson
Date: 2012-02-29 18:13
Subject: Re: [vserver] how to use 'skeleton' method to create a vps?
> how could I build a vps by the method "skeleton"?
> I use it like this:
> 1. vserver nova build -m skeleton --hostname nova.domain.com --interface
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
> 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'
> 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