diff --git a/README.md b/README.md index 19dbf8e..8873856 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,28 @@ -# vmware-migration -Migrate existing VMWare server to Google Cloud and put it under K8s cluster (Offline Migration or Live migration) +# MigrateGCE + +## What is this +--- +This is a script that prepares your VMs to migrate.
+NOTE : This script only covers the [Prepare your Linux VMs](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview#prepare_your_linux_vms) step, other steps you must cover by manually. + +## How To +--- +### Intall + +``` +cd /tmp +git clone https://github.com/platformercloud/vmware-migration +cd vmware-migration +mv migrategce.sh /usr/local/share/ +chmod +x /usr/local/share/migrategce.sh +``` + +### Run it + +``` +migrategce +``` + +### References + + - [Overview of on-premises to GCP migration](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview) diff --git a/migrategce.sh b/migrategce.sh new file mode 100644 index 0000000..023a37f --- /dev/null +++ b/migrategce.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +printf "\n Welcome To MigrateGCE, perpare your VMs to migrate... \n\n" + +cd /tmp +wget https://storage.googleapis.com/velostrata-release/4.11.1/migrate-for-gce-prep-4.11.1-0.deb +dpkg -i migrate-for-gce-prep-4.11.1-0.deb +reboot