Coat a large sauté pan with olive oil, add the bacon and bring to medium heat.
When the bacon starts to get crispy and brown, about 5-6 minutes, add the onion, rosemary and red pepper. Season with salt and sauté the onions until soft and aromatic, 8-10 minutes.