Browse code

Modify some spelling mistakes

There are some comment errors, it's modify 'Captial' to 'Capital' in
keystone file, and modify 'possition' to 'position' in openrc file, and
modify 'comming' to 'coming' in stack file, and
modify 'prefered' to 'preferred' in stackrc file.

Change-Id: I0fdd539cbfff842a4ba7fca9100b881443300f9a

zhangbailin authored on 2017/08/09 17:43:00
Showing 4 changed files
... ...
@@ -350,7 +350,7 @@ function create_keystone_accounts {
350 350
     # The Member role is used by Horizon and Swift so we need to keep it:
351 351
     local member_role="member"
352 352
 
353
-    # Captial Member role is legacy hard coded in Horizon / Swift
353
+    # Capital Member role is legacy hard coded in Horizon / Swift
354 354
     # configs. Keep it around.
355 355
     get_or_create_role "Member"
356 356
 
... ...
@@ -84,7 +84,7 @@ export OS_AUTH_TYPE=password
84 84
 # We currently recommend using the version 3 *identity api*.
85 85
 #
86 86
 
87
-# If you don't have a working .stackenv, this is the backup possition
87
+# If you don't have a working .stackenv, this is the backup position
88 88
 KEYSTONE_BACKUP=$SERVICE_PROTOCOL://$SERVICE_HOST:5000
89 89
 KEYSTONE_AUTH_URI=${KEYSTONE_AUTH_URI:-$KEYSTONE_BACKUP}
90 90
 
... ...
@@ -30,7 +30,7 @@ unset GREP_OPTIONS
30 30
 # NOTE(sdague): why do we explicitly set locale when running stack.sh?
31 31
 #
32 32
 # Devstack is written in bash, and many functions used throughout
33
-# devstack process text comming off a command (like the ip command)
33
+# devstack process text coming off a command (like the ip command)
34 34
 # and do transforms using grep, sed, cut, awk on the strings that are
35 35
 # returned. Many of these programs are interationalized, which is
36 36
 # great for end users, but means that the strings that devstack
... ...
@@ -80,7 +80,7 @@ NOVA_ENABLED_APIS=osapi_compute,metadata
80 80
 # CELLSV2_SETUP - how we should configure services with cells v2
81 81
 #
82 82
 # - superconductor - this is one conductor for the api services, and
83
-#   one per cell managing the compute services. This is prefered
83
+#   one per cell managing the compute services. This is preferred
84 84
 # - singleconductor - this is one conductor for the whole deployment,
85 85
 #   this is not recommended, and will be removed in the future.
86 86
 CELLSV2_SETUP=${CELLSV2_SETUP:-"superconductor"}
... ...
@@ -117,7 +117,7 @@ fi
117 117
 # Whether or not to enable Kernel Samepage Merging (KSM) if available.
118 118
 # This allows programs that mark their memory as mergeable to share
119 119
 # memory pages if they are identical. This is particularly useful with
120
-# libvirt backends. This reduces memory useage at the cost of CPU overhead
120
+# libvirt backends. This reduces memory usage at the cost of CPU overhead
121 121
 # to scan memory. We default to enabling it because we tend to be more
122 122
 # memory constrained than CPU bound.
123 123
 ENABLE_KSM=$(trueorfalse True ENABLE_KSM)