scottslowe-learning-tools/coreos-cloudinit-toolbox/user-data
Scott Lowe 91d45989e5 Add files for using cloud-init to customize CoreOS toolbox
Add Vagrantfile, machines.yml, and user-data for use with local Vagrant environment. Add README.md with instructions for using local Vagrant environment, OpenStack instances, or AWS instances.
2016-02-11 12:59:46 -07:00

16 lines
348 B
Text

#cloud-config
write_files:
- path: /home/core/.toolboxrc
owner: core
content: |
TOOLBOX_DOCKER_IMAGE=python
TOOLBOX_DOCKER_TAG=2.7.11-alpine
TOOLBOX_USER=root
- path: /opt/bin/python
owner: root:root
permissions: '0755'
content: |
#!/bin/bash
toolbox --bind=/home:/home python "$@"