Skip to content

Instantly share code, notes, and snippets.

View Bjorn248's full-sized avatar

Bjorn Stange Bjorn248

View GitHub Profile
@glenjamin
glenjamin / .kitchen.yml
Created September 28, 2015 20:48
Systemd in a container! Useful for testing services controlled by chef
---
driver:
name: docker
provision_command:
- yum -y swap -- remove systemd-container systemd-container-libs -- install systemd
- systemctl enable sshd.service
- curl -L https://www.opscode.com/chef/install.sh | bash
require_chef_omnibus: false
run_command: /usr/sbin/init
privileged: true