Skip to content

Commit 5ae5675

Browse files
authored
Fix GCE deployment scripts for Cloud Memorystore (GoogleCloudPlatform#1626)
1 parent cdfcfd3 commit 5ae5675

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

memorystore/redis/gce_deployment/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ gsutil cp app.tar $GCS_APP_LOCATION
4141

4242
# Create an instance
4343
gcloud compute instances create my-instance \
44-
--image-family=debian-8 \
44+
--image-family=debian-9 \
4545
--image-project=debian-cloud \
4646
--machine-type=g1-small \
4747
--scopes cloud-platform \

memorystore/redis/gce_deployment/startup-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ apt-get install -yq \
3333
curl -s "https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
3434
service google-fluentd restart &
3535

36-
gsutil cp $GCS_APP_LOCATION /app.tar
36+
gsutil cp "$GCS_APP_LOCATION"** /
3737
mkdir -p /app
3838
tar -x -f /app.tar -C /app
3939
cd /app

0 commit comments

Comments
 (0)