From 2b090511832f1898f7d15cc33a6b9b20a8d88e07 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 15 Nov 2017 17:46:44 +0800 Subject: bugfix: hosts info is wrongly processed changes: 1. add usage example in hosts.yaml.sample 2. fix /etc/hosts from wrong format {'hostname': 'ip'} to the right 'ip hostnames' 3. fix --add-hosts from wrong usage --add-host {'hostname': 'ip'} to the right --add-host='hostnames':ip 4. support per ip mapping mutiple hostnames, which is also in line with /etc/hosts schema JIRA: DOVETAIL-556 Change-Id: I92e8cb0fd3476b61f5c73a69e34c4a66aef51d6e Signed-off-by: SerenaFeng --- requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'requirements.txt') diff --git a/requirements.txt b/requirements.txt index 9eaaf3c3..58da19e6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ python-openstackclient==3.9.0 requests==2.10.0 six==1.10.0 stevedore==1.20.0 +python-hosts==0.4.1 \ No newline at end of file -- cgit 1.2.3-korg