hiii
thnks Canhua.
But still there is a problem
Here are thing i did
1) lxc-create -n vm2 -f /home/nishant/vm2/lxc-macvlan.conf -t sshd
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in
/var/lib/
hi, You may start container just like this:
lxc-start -n vm2
without -f ...
On Thu, Aug 25, 2011 at 3:09 PM, nishant mungse wrote:
> hiii
> thnks Canhua.
> But still there is a problem
> Here are thing i did
> 1) lxc-create -n vm2 -f /home/nishant/vm2/lxc-macvlan.conf -t sshd
> Generating pub
hiii Canhua,
lxc-start -n vm2
/usr/lib/lxc/lxc-init is /usr/lib/lxc/lxc-init
sshd is /usr/sbin/sshd
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
And contents of /etc/ssh are::
ls /etc/ssh/
moduli sshd_config ssh_host_dsa_key.p
On 08/24/2011 04:06 PM, 陈竞 wrote:
> i have a computer with 2 cores cpu. I want to create a container with 0.5
> cpu. I found that cpuset.shares means how many time cpu time it get,
> but i don't know whether cpuset.shares point to one cpu or all cpu?
> if it points to one cpu, is the following con
Hi,
>From your original post, I conclude that you're after functionality akin
to that of OpenVZ's cpulimit, that is, limiting the absolute amount of
processing power (giving your container, for example, 1GHz out of a 2GHz
processor core).
LXC cpu.shares does not provide this kind of functionality