[xen-tools-dev] [PATCH] Rename genpass-len to genpass_len to match default config.
Stéphane Jourdois
sjourdois at gmail.com
Sun Jul 11 15:38:44 CEST 2010
This makes prove t/argument-check.t pass.
---
bin/xen-create-image | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/xen-create-image b/bin/xen-create-image
index 2219b65..a0efaa1 100755
--- a/bin/xen-create-image
+++ b/bin/xen-create-image
@@ -106,7 +106,7 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH.
--genpass=1 Generate a random root password
- --genpass-len=N
+ --genpass_len=N
Override the default password length of 8 and generate a
random password of length N. Note: this only works in
conjunction with --genpass
@@ -1590,7 +1590,7 @@ sub parseCommandLineArguments
"pygrub", \$CONFIG{ 'pygrub' },
"passwd", \$CONFIG{ 'passwd' },
"genpass=i", \$CONFIG{ 'genpass' },
- "genpass-len=i", \$CONFIG{ 'genpass_len' },
+ "genpass_len=i", \$CONFIG{ 'genpass_len' },
"password=s", \$CONFIG{ 'password' },
"partitions=s", \$CONFIG{ 'partitions' },
"role=s", \$CONFIG{ 'role' },
--
1.5.6.5
More information about the xen-tools-dev
mailing list