migrate_openstack_vars.py: Correct folder name

In https://review.openstack.org/443579 the backport
unintentionally left out the folder name change.

This patch corrects that to ensure that the script
runs successfully.

Closes-Bug: #1711335
Change-Id: I604a42c0edc5a88e1fd84d263f77c24da88ac441
This commit is contained in:
Jesse Pretorius 2017-08-29 17:53:04 +01:00
parent 838771f757
commit 47ec9353d8
1 changed files with 1 additions and 1 deletions

View File

@ -65,6 +65,6 @@ if __name__ == '__main__':
flag_ref = sys.argv[2]
main(filename)
flag_file = '/etc/openstack_deploy.NEWTON/VARS_MIGRATED_%s' % flag_ref
flag_file = '/etc/openstack_deploy.MITAKA/VARS_MIGRATED_%s' % flag_ref
with open(flag_file, 'w') as f:
f.write('OpenStack-Ansible variables migrated.')