Heat the oil in a large skillet over medium-high heat. Add the onions and garlic, sauté until they become translucent.
Add in the potatoes and season with salt and pepper. Cook, stirring occasionally until they are golden brown and crispy.
Stir in the diced corned beef, cook until it's heated through and starts to get a little bit crispy.
Make four wells in the hash and crack an egg into each one. Cover the skillet and cook until the eggs are done to your liking.
Garnish with fresh parsley, serve hot, and enjoy.