diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-05-05 21:34:26 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-05-05 21:34:26 -0400 |
commit | 31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab (patch) | |
tree | 60d0c77c826881e99e4d17bae42980e1197145b0 | |
parent | 432b3d970cbf22715b5f9349863ab5a396c64d2f (diff) | |
download | openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.gz openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.bz2 openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.xz openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.zip |
add user-data file back to openstack provisioner
-rw-r--r-- | playbooks/openstack/openshift-cluster/files/user-data | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/openstack/openshift-cluster/files/user-data b/playbooks/openstack/openshift-cluster/files/user-data new file mode 100644 index 000000000..eb65f7cec --- /dev/null +++ b/playbooks/openstack/openshift-cluster/files/user-data @@ -0,0 +1,13 @@ +#cloud-config +disable_root: true + +system_info: + default_user: + name: openshift + sudo: ["ALL=(ALL) NOPASSWD: ALL"] + +write_files: + - path: /etc/sudoers.d/00-openshift-no-requiretty + permissions: 440 + content: | + Defaults:openshift !requiretty |