天天看點

每天充電半小時之Cobbler(10)

Cobbler Check

check指令用于檢查有關其安裝可能出現的問題的資訊。check指令輸出包含建議,而不是絕對。也就是說,檢查輸出可能總是顯示出來(例如,在系統上啟用SELinux檢查時),或者不需要建議的補救措施來使Cobbler正常運作(例如,防火牆檢查)。

例:

$ cobbler check The following are potential configuration items that you may want to fix:

1 : SELinux is enabled. Please review the following wiki page for details on ensuring cobbler works correctly in your SELinux environment: https://github.com/cobbler/cobbler/wiki/Selinux 2 : comment 'dists' on /etc/debmirror.conf for proper debian support 3 : comment 'arches' on /etc/debmirror.conf for proper debian support 4 : Dynamic settings changes are enabled, be sure you run "sed -i 's/^[[:space:]]+/ /' /etc/cobbler/settings" to ensure the settings file is properly indented

Restart cobblerd and then run 'cobbler sync' to apply changes.