Categories

How to create Ubuntu 11.04 Natty Narwhal LXC template

First create a network configuration file:

lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0

…and run lxc-create:

root@servukas:~# lxc-create -n natty-lxc-template -t natty -f /tmp/natty-template-network.conf debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/natty/rootfs-amd64 … Downloading ubuntu natty minimal … … Copy /var/cache/lxc/natty/rootfs-amd64 to /var/lib/lxc/natty-lxc-template/rootfs … Copying rootfs to /var/lib/lxc/natty-lxc-template/rootfs …Please change root-password ! . . . → Read More: How to create Ubuntu 11.04 Natty Narwhal LXC template

“mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

Today I wanted to update my virtual LXC Ubuntu and I got an error: mknod: `/lib/udev/devices/ppp’: Operation not permitted . . . → Read More: “mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

How to Fix LXC’s Error: PTY allocation request failed, stdin: is not a tty

I like LXC very much. But this error was killing me for a few days. Google gave me no answer about that.

I have Ubuntu 10.04 Lucid Lynx as a host and as LXC guest. This is what I was getting while trying to ssh to virtual host “hostingas”:

nzn@servukas:~$ ssh root@hostingas root@hostingas’s password: . . . → Read More: How to Fix LXC’s Error: PTY allocation request failed, stdin: is not a tty

How to Create a LXC CentOS Template

Make Your custom CentOS template. . . . → Read More: How to Create a LXC CentOS Template