agent: setNumberOfCPUs support

Change-Id: I0b03bd96bd52b76e7d3bf1f8bbcdd7d8e8fbc560
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>