Cook the onions in the olive oil together with the bay leaves, thyme and ginger until the onions are soft and transparent.
Add the pumpkin, mix and add enough water to cover everything.
Cook for about 20-30min on medium heat or until the pumpkin is nice and soft.
Pass through a sieve, keeping both the pumpkin and veggies as well as the liquid. Discard the bay leaves.
Blend the veggies with a bit of liquid and then adjust with more liquid if necessary. Add salt and pepper blend one last time.