Sign inSign up

chrisipa/cloud-portal-client

By chrisipa

•Updated over 5 years ago

Docker container image for the Cloud Portal CLI client based on debian and curl.

Image
0

552

chrisipa/cloud-portal-client repository overview

⁠Cloud Portal Client

Build Status Docker Image

⁠Overview

Docker container image for the Cloud Portal CLI client based on debian and curl.

⁠Usage

  • Show variable information for creating a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e '[email protected]' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=plan' \
chrisipa/cloud-portal-client
  • Plan creation of a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e '[email protected]' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=plan' \
chrisipa/cloud-portal-client \
-F 'title=my-title' \
-F 'description=my-description' \
-F 'password=P@ssword' \ 
-F 'password_repeat=P@ssword' 
  • Execute creation of a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e '[email protected]' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=apply' \
chrisipa/cloud-portal-client \
-F 'title=my-title' \
-F 'description=my-description' \
-F 'password=P@ssword' \ 
-F 'password_repeat=P@ssword' 
  • Destroy a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e '[email protected]' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=destroy' \
chrisipa/cloud-portal-client \
my-provisioning-id

Tag summary

Content type

Image

Digest

Size

88.7 MB

Last updated

over 5 years ago

docker pull chrisipa/cloud-portal-client