https://github.com/major/ansible-lxc
Simple playbook to try out LXC on Fedora 21
https://github.com/major/ansible-lxc
Last synced: 5 months ago
JSON representation
Simple playbook to try out LXC on Fedora 21
- Host: GitHub
- URL: https://github.com/major/ansible-lxc
- Owner: major
- Created: 2014-12-11T16:03:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T13:49:08.000Z (over 10 years ago)
- Last Synced: 2025-10-11T05:47:21.603Z (8 months ago)
- Size: 141 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Try out LXC on Fedora 21 with Ansible
This simple [Ansible](http://www.ansible.com/home) playbook will set up [LXC](https://linuxcontainers.org/) on a [Fedora 21](https://getfedora.org/) server. To be more specific, here's what it does:
1. Installs libvirt and LXC packages
2. Configures services to start at boot
3. Creates a basic Fedora 21 container
4. Registers the container with libvirt
5. Configures the container with a root password ("fedora") and DHCP
6. Starts the container
Once everything is ready, you'll get the container's IP address printed in the console. It's also compeletely safe to re-run the playbook over and over again if needed.
Let me know what you think. As always, pull requests are welcome.
*--Major*