Fixed incorrect usage of user_data variable (#5194)

pull/18777/head
adejongh 8 years ago committed by Matt Clay
parent 765269e547
commit a89992f70f

@ -287,7 +287,7 @@ def create(module, names=[], flavor=None, image=None, meta={}, key_name=None,
if user_data and os.path.isfile(os.path.expanduser(user_data)):
try:
user_data = os.path.expanduser('user_data')
user_data = os.path.expanduser(user_data)
f = open(user_data)
user_data = f.read()
f.close()

Loading…
Cancel
Save