Имеется Sun V210 с установленным Debian 7 SPAKR. Выхода в интернет не имеет, только через прокси. Установил на него lxc как написано тут http://wiki.debian.org/LXC. Но при создании контейнера lxc-create -n myfirstcontainer -t debian выдает ошибки, что не может скачать пакеты
Код: Выделить всё
Err http://ftp.debian.org wheezy Release.gpg
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (51: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
В просторах нашел такую статью и сделал вот так
Код: Выделить всё
MIRROR="http://192.168.106.6:3128/ftp.debian.org"
eval $(apt-config shell MIRROR Acquire::http::Proxy)
Но ничего не получается не обращается он к проксе.
Ну ладно, контейнер то все равно вроде как установлен, запускаю, но в итоге получаю
Код: Выделить всё
lxc-start -n test2
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
hostname: you must be root to change the host name
mount: permission denied
mount: permission denied
mount: permission denied
Setting the system clock.
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Wed May 29 05:41:24 UTC 2013 ... (warning).
Activating swap...done.
mount: can't find / in /etc/fstab or /etc/mtab
Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning).
Cleaning up temporary files... /tmp.
mount: permission denied
mount: permission denied
mount: permission denied
Mount point '/dev/console' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.20.1
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
mount: permission denied
mount: permission denied
mount: permission denied
Cleaning up temporary files....
Setting kernel variables ...done.
Configuring network interfaces...done.
Cleaning up temporary files....
startpar: service(s) returned failure: hostname.sh ... failed!
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
.
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
Последнии строчки так и повторяются, при входе в консоль ничего не происходит. Помогите?