From 74379df11f6ce2e76d1448f4ffd6db9528768727 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 21 Jan 2016 10:20:08 -0500 Subject: [PATCH] Remove leftover homedir clouds.yaml files We don't write files here anymore, but it's higher in the precedence order than the /etc/openstack/clouds.yaml file we do write. Some developers who have long-lived devstacks who update infrequently have been bitten by the leftover file. Change-Id: I8af6bd465f74099c560dddba6b5221dd79cbc965 --- functions-common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions-common b/functions-common index 47276f0c34..12c925b0ff 100644 --- a/functions-common +++ b/functions-common @@ -106,6 +106,9 @@ function write_clouds_yaml { --os-username admin \ --os-password $ADMIN_PASSWORD \ --os-project-name admin + + # CLean up any old clouds.yaml files we had laying around + rm -f ~$STACK_USER/.config/openstack/clouds.yaml } # trueorfalse