Displaying 1 result from an estimated 1 matches for "centos_autoinstall".
2019 Jan 10
3
@reboot only some lines of a script are working (yum install not)
...0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR
sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
@reboot root
/opt/install_via_pxe/centos_autoinstall/stage01/init_stage01_docker.sh
xxx
#! /bin/bash
echo 'script init_stage01_docker.sh ist gestartet' >>
/var/log/comline/autoinst.log
/usr/bin/yum install -y cifs-utils
systemctl stop packagekit.service
systemctl disable packagekit.service
yum remove PackageKit -y
/usr/bin/yum ins...