This is probably the progenitor of garden onion and garlic. It is a common plant of the Mediterranean region, expanding eastwards to central Asia. It blooms in early summer and there are purple plants (like this one and green ones.
Only registered TrekNature members may rate photo notes.