configure metadata agent

Otherwise cloud-init does not finish inside the VM