quote fail
This commit is contained in:
parent
f6efa9aaa5
commit
b504625f72
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ def create(module, names=[], flavor=None, image=None, meta={}, key_name=None,
|
|||
if user_data:
|
||||
config_drive = True
|
||||
|
||||
if user_data and os.path.isfile(os.path.expanduser('user_data')):
|
||||
if user_data and os.path.isfile(os.path.expanduser(user_data)):
|
||||
try:
|
||||
user_data = os.path.expanduser('user_data')
|
||||
f = open(user_data)
|
||||
|
|
Loading…
Reference in a new issue