summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-09-16 15:58:13 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-09-26 15:27:08 -0500
commit891ece863b97d854dda859accc8ce3dbe45fac0b (patch)
tree8597cba4d1a4a3bf36c5cc93a2846ffff414a060 /src/lib/Server/Admin
parenta23fe48a5f8cc00fb0dc025ba8eed68727e8c0db (diff)
downloadbcfg2-891ece863b97d854dda859accc8ce3dbe45fac0b.tar.gz
bcfg2-891ece863b97d854dda859accc8ce3dbe45fac0b.tar.bz2
bcfg2-891ece863b97d854dda859accc8ce3dbe45fac0b.zip
Init: fix cosmetic display for hostname prompt (fix from m4z) (Resolves Ticket #906)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6063 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r--src/lib/Server/Admin/Init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py
index 0f859a2d4..384ba6929 100644
--- a/src/lib/Server/Admin/Init.py
+++ b/src/lib/Server/Admin/Init.py
@@ -165,7 +165,7 @@ class Init(Bcfg2.Server.Admin.Mode):
def _prompt_hostname(self):
"""Ask for the server hostname."""
- data = raw_input("What is the server's hostname: [%s]: " % socket.getfqdn())
+ data = raw_input("What is the server's hostname [%s]: " % socket.getfqdn())
if data != '':
self.shostname = data
else: