Boil the potatoes until just tender, about 6–8 minutes, then drain well. Heat 2 tbsp oil in a frying pan and cook the onion until softened. Add the potatoes and cook until browned and crisp. Tip in the corned beef and cook until it starts to brown at the edges. Season, stir through the parsley then serve, topped with a fried egg.