diff options
Diffstat (limited to 'openstack.configure')
-rw-r--r-- | openstack.configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack.configure b/openstack.configure index b50d2946..49e8cbd8 100644 --- a/openstack.configure +++ b/openstack.configure @@ -41,8 +41,8 @@ append_host() { ip="$1" hostname="$2" - if ! valid_ip "$ip"; then echo "ip, $ip" is malformed >&2; exit 1; fi - if ! valid_hostname "$hostname"; then echo "hostname, $hostname" is malformed >&2; exit 1; fi + if ! valid_ip "$ip"; then echo "ip, '$ip'" is malformed >&2; exit 1; fi + if ! valid_hostname "$hostname"; then echo "hostname, '$hostname'" is malformed >&2; exit 1; fi echo "$ip" "$hostname" >> /etc/hosts } |