I try create LXC template:
$ make
But I get an error that the container can not be found.
Manual start:
$ lxc-start -n test -f /var/lib/vz/template/builds/debian-8.5-minimal-64/config
$ lxc-info -n test
$ lxc-attach -n test --clear-env -- defenv /sbin/ldconfig
Porxmox 4.2
Debian 8.5
$ make
But I get an error that the container can not be found.
Manual start:
$ lxc-start -n test -f /var/lib/vz/template/builds/debian-8.5-minimal-64/config
$ lxc-info -n test
Name: test
State: RUNNING
PID: 1658
CPU use: 0.26 seconds
Memory use: 9.19 MiB
KMem use: 0 bytes
State: RUNNING
PID: 1658
CPU use: 0.26 seconds
Memory use: 9.19 MiB
KMem use: 0 bytes
$ lxc-attach -n test --clear-env -- defenv /sbin/ldconfig
Error: container test is not defined
$ lxc-ls -fPorxmox 4.2
Debian 8.5
Last edited: