Skip to content

Instantly share code, notes, and snippets.

@bradfa
Last active July 17, 2017 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradfa/c6a58361a3c7c628f1a2182424af6bd7 to your computer and use it in GitHub Desktop.
Save bradfa/c6a58361a3c7c628f1a2182424af6bd7 to your computer and use it in GitHub Desktop.
Debian LXC Machine Notes and Actions

Setting up a Debian machine to be a container host for LXC.

TODO:

  • Get quieter heatsink fan setup (duct? other fan?)
  • Install Debian Stretch amd64
  • Get LXC installed
  • Setup Ethernet bridge for containers to be on local LAN (not NAT'ed)
  • Setup syslog server on host to receive syslog data from all containers
  • Setup LAN's DHCP server to hand out fixed IPs based on hostname in DHCP request for containers that need it (ie: mirror)
  • Setup mirror container, transfer over existing mirror data from lati
  • Setup build machine container
  • Setup disk quotas for containers
  • Setup automatic updates for host and containers
  • Investigate how to easily apply changes/actions to many machines (ie: ansible?)
  • Setup HE.net dynamic dns?
  • Configure host and containers to be able to send email alerts to me
  • Buy and install additional 4 GB DDR3L SODIMM stick?
  • Install extra SSD to use for build machine container scratch area?

Containers List

  • Build machine (for Yocto/OE work)
  • Apt-cacher and/or Debian mirror
  • Ansible server

Questions:

  • Is it worth still having the mirror on the LAN? Would an apt-cache be more effective considering my time and how the security.debian.org repo integrates into stretch?

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment