Skip to content

Commit 4feca87

Browse files
Update ol7.sh
1 parent fc2a262 commit 4feca87

File tree

1 file changed

+1
-3
lines changed
  • terraform/rdma/cloud-init

1 file changed

+1
-3
lines changed

terraform/rdma/cloud-init/ol7.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ OKE_KUBELET_CA_CERT=$(curl -sH "Authorization: Bearer Oracle" -L http://169.254.
66

77
# Adjust boot volume size
88
sudo dd iflag=direct if=/dev/oracleoci/oraclevda of=/dev/null count=1
9-
echo "1" | sudo tee /sys/class/block/`readlink /dev/oracleoci/oraclevda | cut -d'/' -f 2`/device/resca
9+
echo "1" | sudo tee /sys/class/block/`readlink /dev/oracleoci/oraclevda | cut -d'/' -f 2`/device/rescan
1010
sudo /usr/libexec/oci-growfs -y
1111

1212
timedatectl set-timezone $${worker_timezone}
@@ -15,5 +15,3 @@ timedatectl set-timezone $${worker_timezone}
1515
bash /etc/oke/oke-install.sh \
1616
--apiserver-endpoint $OKE_APISERVER_ENDPOINT \
1717
--kubelet-ca-cert $OKE_KUBELET_CA_CERT
18-
19-
touch /var/log/oke.done

0 commit comments

Comments
 (0)