bugfix:start tftp
restart xinetd service after excute "cobbler sync" so that tftp can be started Change-Id: Ib17688190f5d181ebf26d639fa6fcef5e3aebf44 Signed-off-by: baigk <baiguoku@huawei.com>
This commit is contained in:
parent
be47044989
commit
b61eeb4b44
@ -167,7 +167,6 @@ sudo chmod -R 777 /var/log/cobbler
|
||||
sudo systemctl restart httpd.service
|
||||
sudo systemctl restart cobblerd.service
|
||||
sudo systemctl restart named.service
|
||||
sudo systemctl restart xinetd.service
|
||||
|
||||
sudo sleep 10
|
||||
sudo cobbler sync
|
||||
@ -194,6 +193,7 @@ if [[ "$?" != "0" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo systemctl restart xinetd.service
|
||||
echo "Checking if xinetd is running"
|
||||
sudo systemctl status xinetd.service
|
||||
if [[ "$?" != "0" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user