Added sudo calls to the foreman installer calls.