Browse Source

AMBARI-3261. Cleanup UX for advanced database in ambari-server setup. (Jeff Sposetti via swagle)

Siddharth Wagle 12 years ago
parent
commit
6dcb9f860b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ambari-server/src/main/python/ambari-server.py

+ 4 - 1
ambari-server/src/main/python/ambari-server.py

@@ -1088,9 +1088,12 @@ def prompt_db_properties(args):
     ok = get_YN_input("Enter advanced database configuration [y/n] (n)? ", False)
     if ok:
 
+      print "=============================================================================="
+      print "Choose one of the following options:"
+
       database_num = str(DATABASE_INDEX + 1)
       database_num = get_validated_string_input(
-        "Select database:\n1 - PostgreSQL (Embedded)\n2 - Oracle\n(" + database_num + "): ",
+        "[1] - PostgreSQL (Embedded)\n[2] - Oracle\n==============================================================================\nEnter choice (" + database_num + "): ",
         database_num,
         "^[12]$",
         "Invalid number.",