Call sudo to install cleanup script on Linux
parent
0b65bbf1d9
commit
9a8c26c2fe
|
|
@ -31,7 +31,7 @@ JOB_NAME="KVM_Linux"
|
|||
PARALLEL_COUNT=4
|
||||
|
||||
mkdir cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron
|
||||
install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
|
||||
# Download files and set permissions
|
||||
source ./common.sh
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ systemctl is-active --quiet kubelet \
|
|||
&& sudo systemctl stop kubelet
|
||||
|
||||
mkdir -p cron && gsutil -m rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron
|
||||
install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
|
||||
# Download files and set permissions
|
||||
source ./common.sh
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ JOB_NAME="VirtualBox_Linux"
|
|||
PARALLEL_COUNT=4
|
||||
|
||||
mkdir -p cron && gsutil -m rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron
|
||||
install cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
sudo install cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot
|
||||
|
||||
# Download files and set permissions
|
||||
source ./common.sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue