[lxc-users] No Redhat template

Tamas Papp tompos at martos.bme.hu
Tue Feb 18 08:05:45 UTC 2014


On 02/18/2014 08:34 AM, Jon Brinkmann wrote:
> I'm trying to build containers in Scientific Linux, a clone of RHEL.
> When building from the git source for v1.0.0_rc3, configure has no
> problems identifying the distribution:
>
> 	Environment:
> 	 - compiler: gcc
> 	 - distribution: redhat
> 	 - init script type(s): sysvinit
> 	 - rpath: no
> 	 - GnuTLS: no
> 	 - Bash integration: yes
>
> However, when I attempt to create a container, I get:
>
> 	# lxc-create -t redhat -n system1 -P /systems/
> 	lxc_container: No such file or directory - bad template: redhat
>
> 	lxc_container: bad template: redhat
>
> 	lxc_container: Error creating container system1
>
> and looking in /usr/local/share/lxc/templates:
>
> 	# ls /usr/local/share/lxc/templates/
> 	lxc-alpine     lxc-centos    lxc-fedora        lxc-oracle  lxc-ubuntu-cloud
> 	lxc-altlinux   lxc-cirros    lxc-gentoo        lxc-plamo
> 	lxc-archlinux  lxc-debian    lxc-openmandriva  lxc-sshd
> 	lxc-busybox    lxc-download  lxc-opensuse      lxc-ubuntu
>
> There's no sign of a redhat template.  How do I proceed?  Should I create
> a template for it from lxc-centos and submit it to lxc-devel?
>
>

There is no official template for redhat.... I guess because there is no
public redhat repository available.

tamas


More information about the lxc-users mailing list