Ian McLeod has agreed to extend his contract as MD of Coles, Australia's second-largest retailer.