diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-04-24 12:06:07 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-04-24 12:06:07 -0400 |
commit | b3b2039086bb380bc76172ec39a97f1d447ac412 (patch) | |
tree | 117c8aea45d5bf7199870403a7210505a1d686dd /playbooks/aws/openshift-cluster/templates | |
parent | b1105112be18f6e1f3cd5b268881f46a2a6ad229 (diff) | |
parent | 378e8a8c9d7e7be7f52691e957f07096ee0b2c82 (diff) | |
download | openshift-b3b2039086bb380bc76172ec39a97f1d447ac412.tar.gz openshift-b3b2039086bb380bc76172ec39a97f1d447ac412.tar.bz2 openshift-b3b2039086bb380bc76172ec39a97f1d447ac412.tar.xz openshift-b3b2039086bb380bc76172ec39a97f1d447ac412.zip |
Merge pull request #167 from detiber/aws-lvm-direct
lvm-direct support for aws
Diffstat (limited to 'playbooks/aws/openshift-cluster/templates')
-rw-r--r-- | playbooks/aws/openshift-cluster/templates/user_data.j2 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/templates/user_data.j2 b/playbooks/aws/openshift-cluster/templates/user_data.j2 new file mode 100644 index 000000000..7dbc8f552 --- /dev/null +++ b/playbooks/aws/openshift-cluster/templates/user_data.j2 @@ -0,0 +1,29 @@ +#cloud-config +yum_repos: + jdetiber-copr: + name: Copr repo for origin owned by jdetiber + baseurl: https://copr-be.cloud.fedoraproject.org/results/jdetiber/origin/epel-7-$basearch/ + skip_if_unavailable: true + gpgcheck: true + gpgkey: https://copr-be.cloud.fedoraproject.org/results/jdetiber/origin/pubkey.gpg + enabled: true + +packages: +- xfsprogs # can be dropped after docker-storage-setup properly requires it: https://github.com/projectatomic/docker-storage-setup/pull/8 +- docker-storage-setup + +mounts: +- [ xvdb ] +- [ ephemeral0 ] + +write_files: +- content: | + DEVS=/dev/xvdb + VG=docker_vg + path: /etc/sysconfig/docker-storage-setup + owner: root:root + permissions: '0644' + +runcmd: +- systemctl daemon-reload +- systemctl enable lvm2-lvmetad.service docker-storage-setup.service |