Skip to content

Instantly share code, notes, and snippets.

@berinle
Created October 11, 2019 11:33
Show Gist options
  • Select an option

  • Save berinle/db9997dc53be198cf662737b9f141120 to your computer and use it in GitHub Desktop.

Select an option

Save berinle/db9997dc53be198cf662737b9f141120 to your computer and use it in GitHub Desktop.
stemcell build for windows
root@ffeaf3c666a6:/app# ./stembuild-linux-x86_64-2019.11 construct --help
stembuild-linux-x86_64-2019.11 construct -vm-ip <IP of VM> -vm-username <vm username> -vm-password <vm password> -vcenter-url <vCenter URL> -vcenter-username <vCenter username> -vcenter-password <vCenter password> -vm-inventory-path <vCenter VM inventory path>
Prepares a VM to be used by stembuild package. It leverages stemcell automation scripts to provision a VM to be used as a stemcell.
Requirements:
LGPO.zip in current working directory
Running Windows VM with:
- Up to date Operating System
- Reachable by IP
- Username and password with Administrator privileges
- vCenter URL, username and password
- vCenter Inventory Path
The [vm-ip], [vm-username], [vm-password], [vcenter-url], [vcenter-username], [vcenter-password], [vm-inventory-path] must be specified
Example:
stembuild-linux-x86_64-2019.11 construct -vm-ip '10.0.0.5' -vm-username Admin -vm-password 'password' -vcenter-url vcenter.example.com -vcenter-username root -vcenter-password 'password' -vm-inventory-path '/datacenter/vm/folder/vm-name'
Flags:
-vcenter-ca-certs string
filepath for custom ca certs
-vcenter-password string
vCenter password
-vcenter-url string
vCenter url
-vcenter-username string
vCenter username
-vm-inventory-path string
vCenter VM inventory path. (e.g: <datacenter>/vm/<vm-folder>/<vm-name>)
-vm-ip string
IP of target machine
-vm-password string
Password of target machine. Needs to be wrapped in single quotations.
-vm-username string
Username of target machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment