Browse Source

Add warnings to bin/cluster and READMEs

Andrew Butcher 9 năm trước cách đây
mục cha
commit
2f11e4a8ef
6 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 1 0
      README_AWS.md
  2. 1 0
      README_GCE.md
  3. 2 0
      README_libvirt.md
  4. 2 0
      README_openstack.md
  5. 2 0
      README_vagrant.md
  6. 7 0
      bin/cluster

+ 1 - 0
README_AWS.md

@@ -1,3 +1,4 @@
+:warning: **WARNING** :warning: This feature is community supported and has not been tested by Red Hat. Visit [docs.openshift.com](https://docs.openshift.com) for [OpenShift Enterprise](https://docs.openshift.com/enterprise/latest/install_config/install/index.html) or [OpenShift Origin](https://docs.openshift.org/latest/install_config/install/index.html) supported installation docs.
 
 AWS Setup Instructions
 ======================

+ 1 - 0
README_GCE.md

@@ -1,3 +1,4 @@
+:warning: **WARNING** :warning: This feature is community supported and has not been tested by Red Hat. Visit [docs.openshift.com](https://docs.openshift.com) for [OpenShift Enterprise](https://docs.openshift.com/enterprise/latest/install_config/install/index.html) or [OpenShift Origin](https://docs.openshift.org/latest/install_config/install/index.html) supported installation docs.
 
 GCE Setup Instructions
 ======================

+ 2 - 0
README_libvirt.md

@@ -1,3 +1,5 @@
+:warning: **WARNING** :warning: This feature is community supported and has not been tested by Red Hat. Visit [docs.openshift.com](https://docs.openshift.com) for [OpenShift Enterprise](https://docs.openshift.com/enterprise/latest/install_config/install/index.html) or [OpenShift Origin](https://docs.openshift.org/latest/install_config/install/index.html) supported installation docs.
+
 LIBVIRT Setup instructions
 ==========================
 

+ 2 - 0
README_openstack.md

@@ -1,3 +1,5 @@
+:warning: **WARNING** :warning: This feature is community supported and has not been tested by Red Hat. Visit [docs.openshift.com](https://docs.openshift.com) for [OpenShift Enterprise](https://docs.openshift.com/enterprise/latest/install_config/install/index.html) or [OpenShift Origin](https://docs.openshift.org/latest/install_config/install/index.html) supported installation docs.
+
 OPENSTACK Setup instructions
 ============================
 

+ 2 - 0
README_vagrant.md

@@ -1,3 +1,5 @@
+:warning: **WARNING** :warning: This feature is community supported and has not been tested by Red Hat. Visit [docs.openshift.com](https://docs.openshift.com) for [OpenShift Enterprise](https://docs.openshift.com/enterprise/latest/install_config/install/index.html) or [OpenShift Origin](https://docs.openshift.org/latest/install_config/install/index.html) supported installation docs.
+
 Requirements
 ------------
 - ansible (the latest 1.9 release is preferred, but any version greater than 1.9.1 should be sufficient).

+ 7 - 0
bin/cluster

@@ -264,6 +264,13 @@ if __name__ == '__main__':
       providers = gce,aws,libvirt,openstack
     """
 
+    warning = ("================================================================================\n"
+               "ATTENTION: You are running a community supported utility that has not been\n"
+               "tested by Red Hat. Visit https://docs.openshift.com for supported installation\n"
+               "instructions.\n"
+               "================================================================================\n\n")
+    sys.stderr.write(warning)
+
     cluster_config = ConfigParser.SafeConfigParser({
         'cluster_ids': 'marketing,sales',
         'validate_cluster_ids': 'False',