Task: make pickled onions
Assumptions:
Make pickled onions with vinegar.
Steps:
Combine salt with water.
Remove the skin from the onions.
Slice the onions.
Soak the sliced onions overnight in salt water.
Wash the onions under cold water.
Add chillies, bay leaves, peppercorns to the sliced onions.
Combine vinegar, sugar, pickling spice into a pan over medium heat.
Cook for 15 minutes until sugar is dissolved.
Remove the pan from the heat.
Allow the syrup to cool.
Pour the liquid over the onions.