Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

ObjectifLibre/lxc-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Ansible-ready LXC templates

These templates are based on the ubuntu and centos templates, but configure the LXC container to make the use of ansible easier:

  • Install an SSH public key (copied from ~/.ssh/id_rsa.pub)
  • Setup a passwordless sudo configuration for ubuntu, disable requiretty for centos
  • Make sure that python2 is installed

To install the templates coy the files in /usr/share/lxc/templates/.

Usage examples:

lxc-create -n c1 -t ubuntu-ansible
lxc-create -n c2 -t ubuntu-ansible -- -r trusty

lxc-create -n c3 -t centos-ansible
lxc-create -n c4 -t centos-ansible -- -R 6

About

LXC templates used at Objectif Libre

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages