rinse the salt off the onions, pat dry and pack into sterilized jars. cover with the vinegar, spoon in some of the spices, chillies and bay leaves, seal and store in the dark for at least 4 weeks before eating.