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
... | ... |
@@ -106,6 +106,9 @@ function write_clouds_yaml { |
106 | 106 |
--os-username admin \ |
107 | 107 |
--os-password $ADMIN_PASSWORD \ |
108 | 108 |
--os-project-name admin |
109 |
+ |
|
110 |
+ # CLean up any old clouds.yaml files we had laying around |
|
111 |
+ rm -f ~$STACK_USER/.config/openstack/clouds.yaml |
|
109 | 112 |
} |
110 | 113 |
|
111 | 114 |
# trueorfalse <True|False> <VAR> |