Enhanced the setup-cobbler.sh

Replace the service xinetd stop and start to service xinetd restart
, the stop will cause the unknow instance error and stop the
rebuild

Change-Id: I1a8a7a72f51b3d4dcdca3b0158f7771efd567032
This commit is contained in:
Weezer Su 2016-10-20 12:45:45 -05:00
parent 213884ebb8
commit 62178b010e

View File

@ -78,8 +78,7 @@ done
# Restart services again and configure autostart
service cobblerd restart
service apache2 restart
service xinetd stop
service xinetd start
service xinetd restart
update-rc.d cobblerd defaults
# Get ubuntu server image