mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Merge pull request #1456 from greenqloud/pr-4.7-baremetal_metadata_parameter_bugfix
writeIfNotHere requires an array of strings, not a string * pr/1456: writeIfNotHere requires an array of strings, not a string Signed-off-by: Will Stevens <williamstevens@gmail.com>
This commit is contained in:
commit
170765e90d
@ -93,7 +93,7 @@ def addUserData(vmIp, folder, fileName, contents):
|
||||
f.close()
|
||||
|
||||
if folder == "metadata" or folder == "meta-data":
|
||||
writeIfNotHere(metaManifest, fileName)
|
||||
writeIfNotHere(metaManifest, [fileName])
|
||||
|
||||
if __name__ == '__main__':
|
||||
string = sys.argv[1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user