New Bayern Munich boss Pep Guardiola was content with his team's display as they beat his former club Barcelona 2-0 at the Allianz Arena.