From e6f57bdebe202042a95603c6dc02ba428d6e78ff Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Thu, 15 Jul 2010 18:14:16 +0200 Subject: [PATCH] Re-add --no-hosts and --copy-hosts for backwards compatibility and declare them deprecated --- bin/xen-create-image | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/xen-create-image b/bin/xen-create-image index 6e0eaf8..c19df2b 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -1552,6 +1552,9 @@ sub parseCommandLineArguments # Hosts options "nohosts", \$CONFIG{ 'nohosts' }, "copyhosts", \$CONFIG{ 'copyhosts' }, + # Deprecated legacy options for backwards compatibility + "no-hosts", \$CONFIG{ 'nohosts' }, + "copy-hosts", \$CONFIG{ 'copyhosts' }, # Networking options "dhcp", \$CONFIG{ 'dhcp' },