Call sudo to install cleanup script on Linux

pull/5648/head
Thomas Stromberg 2019-10-29 22:05:39 -07:00
parent 0b65bbf1d9
commit 9a8c26c2fe
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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