mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
libcloud needs a byte string
This commit is contained in:
parent
83151363ee
commit
60ea16c63d
@ -30,7 +30,7 @@ def os_script(os_, vm_=None, opts=None):
|
||||
try:
|
||||
with open(full, 'r') as fp_:
|
||||
template = Template(fp_.read())
|
||||
return template.render(opts=opts, vm=vm)
|
||||
return str(template.render(opts=opts, vm=vm_))
|
||||
except AttributeError:
|
||||
# Specified renderer was not found
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user