Versão em português também disponível em: / moisesandre
Tutorial on how to install Cisco CML2 in the following platforms:
1- VMWare workstation
2- VMWare ESXi
3- Google Cloud - GCP (não documentado)
The slides used in this video are available at:
https://links.abredes.com.br/3yy
Post with detailed expanation:
https://dicas.moisesandre.com.br/2020...
Scripts used in this tutorial:
1) Enable SSH server:
sudo systemctl start sshd
sudo systemctl enable sshd
2) Activate Cloud Build:
gcloud services enable cloudbuild.googleapis.com
gcloud services enable compute.googleapis.com
gcloud projects add-iam-policy-binding project-id \
--member serviceAccount:[email protected] \
--role roles/compute.admin
gcloud projects add-iam-policy-binding project-id \
--member serviceAccount:[email protected] \
--role roles/iam.serviceAccountUser
gcloud projects add-iam-policy-binding project-id \
--member serviceAccount:[email protected] \
--role roles/iam.serviceAccountTokenCreator
3) Create an instance from OVF file
gcloud compute instances import INSTANCE_NAME \
--os=centos-8 \
--zone us-central1-b \
--source-uri=gs:PATH_TO_OVF_FILE
4) Colone the instance to a KVM enabled instance
gcloud compute images create cml2-kvm-image \
--source-disk DISK1 --source-disk-zone us-central1-b \
--licenses "https://www.googleapis.com/compute/v1..."
gcloud compute instances create cml2-kvm --zone us-central1-b \
--min-cpu-platform "Intel Haswell" \
--image cml2-kvm-image