diff --git a/scripts/network/ping/baremetal_user_data.py b/scripts/network/ping/baremetal_user_data.py index a8ce32cb3ba0..24391f7991b0 100755 --- a/scripts/network/ping/baremetal_user_data.py +++ b/scripts/network/ping/baremetal_user_data.py @@ -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]