Peel and slice the onions.
Heat the margarine in a large frying pan and gently sauté the onions until soft.
Stir in the contents of the KNORR Roasted Vegetable Bake sachet.
Remove from the heat and set aside.
Once cool, mix in the beaten egg.
Unroll the pastry onto a greased baking tray.
Use a small, sharp knife and score a border all the way round about 3 cm from the edge.
Do not cut all the way through.
Spread the onion mixture over the pastry taking care not to place it over the border.
Place in a preheated oven at 200°C for 20-25 min or until the pastry has risen and is golden brown.
Serve hot or cold.