aboutsummaryrefslogtreecommitdiff
path: root/huge_page_setup_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'huge_page_setup_helper.py')
-rwxr-xr-xhuge_page_setup_helper.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py
index 32fbe19..8bfef14 100755
--- a/huge_page_setup_helper.py
+++ b/huge_page_setup_helper.py
@@ -134,8 +134,10 @@ inputIsValid = False
# ask for the name of the group allowed access to huge pages
while inputIsValid == False:
foundbad = False
- userGroupReq = raw_input("What group should have access to the huge pages? "
- "(The group will be created, if need be): ")
+ userGroupReq = raw_input("What group should have access to the huge pages?"
+ "(The group will be created, if need be) [hugepages]: ")
+ if userGroupReq is '':
+ userGroupReq = 'hugepages'
if userGroupReq[0].isdigit() or userGroupReq[0] == "-":
foundbad = True
print "Group names cannot start with a number or dash, please try again!"