Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Cleanup GCP scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Dec 13, 2021
1 parent bdcc3d2 commit 411a32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/gcp-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo "+++ creating/starting VM"
gcloud compute instances create --zone=$ZONE $VM \
--scopes=cloud-platform \
--machine-type=e2-highcpu-4 --preemptible
gcloud compute instances start $VM
gcloud compute instances start --zone=$ZONE $VM
IP=$(gcloud compute instances describe essentials --format='value(networkInterfaces.accessConfigs[0].natIP)')

echo "+++ configure local ssh $IP"
Expand Down
2 changes: 1 addition & 1 deletion scripts/gcp-vm-clean.sh → scripts/vm-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
echo "=== gcp-clean-vm.sh"

## Cleanup for 06_running_analysis
sudo apt remove git
sudo apt remove git --yes
rm -rf ~/CLASS-Examples

0 comments on commit 411a32c

Please sign in to comment.