Search results

  1. X

    LXC centos DNS

    Hello everybody, I have a problem with my LXC container under centos. My DNS does not resolve the name. Conversely on debian LXC container no worries. /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2...
  2. X

    LXC PermitRootLogin

    No, actually to make a template you have to create the container. Start it. Make the change from in. Make the backup of it. And transfer it to the templates folder. cp /mnt/HDD/dump/vzdump-lxc-date.tar /var/lib/vz/template/cache/ mkdir tmp tar xvf vzdump-lxc-date.tar -C tmp/ cd tmp tar zcvf...
  3. X

    LXC PermitRootLogin

    Hi, What is your template ? If I understand correctly you create a new template just with one: PermitRootLogin yes In the sshd config
  4. X

    Problem pct create

    Hello everybody, I create my container with the command pct create. pct create $CTID local:vztmpl/$Template.tar.gz --cpulimit $CORE --cpuunits 1024 --hostname $NAME --memory $MEMORY --net0 name=eth0,bridge=vmbr0,gw=$GWIP,ip=$IP/24,type=veth --onboot 1 --ostype centos --rootfs...
  5. X

    LXC-start command error.

    well pct start work's ty dcsapak
  6. X

    LXC-start command error.

    Hi all, I create / configure / start my container with jenkins. I have a problem when starting (Exemple lxc-start -n 999). my error: lxc-start: lxc_start.c: main: 295 Executing '/sbin/init' with no configuration file may crash the host i think it's juste the default path (-P, --lxcpath=PATH...