summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack/files/user-data
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openstack-stack/files/user-data')
-rw-r--r--roles/openstack-stack/files/user-data13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/openstack-stack/files/user-data b/roles/openstack-stack/files/user-data
new file mode 100644
index 000000000..eb65f7cec
--- /dev/null
+++ b/roles/openstack-stack/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