Sha256: 6dac41120d8edb20cdc7e2cc76de09c10fd08cc0db480bcb33826f33f5851299
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
The harness can use vms and snapshots that live within vSphere as well. To do this create a `~/.fog` file with your vSphere credentials: ### example .fog file ### :default: :vsphere_server: 'vsphere.example.com' :vsphere_username: 'joe' :vsphere_password: 'MyP@$$w0rd' These follow the conventions used by Cloud Provisioner and Fog. There are two possible `hypervisor` hypervisor-types to use for vSphere testing, `vsphere` and `vcloud`. ### `hypervisor: vsphere` This option locates an existing static VM, optionally reverts it to a pre-existing snapshot, and runs tests on it. ### `hypervisor: vcloud` This option clones a new VM from a pre-existing template, runs tests on the newly-provisioned clone, then deletes the clone once testing completes. The `vcloud` option requires a slightly-modified test configuration file, specifying both the target template as well as three additional parameters in the 'CONFIG' section ('datastore', 'resourcepool', and 'folder'). #### example vcloud hosts file ### HOSTS: master-vm: roles: - master - agent - dashboard platform: ubuntu-10.04-amd64 template: ubuntu-1004-x86_64 hypervisor: vcloud agent-vm: roles: - agent platform: ubuntu-10.04-i386 template: ubuntu-1004-i386 hypervisor: vcloud CONFIG: consoleport: 443 datastore: instance0 resourcepool: Delivery/Quality Assurance/FOSS/Dynamic folder: delivery/Quality Assurance/FOSS/Dynamic
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beaker-3.14.0 | docs/how_to/hypervisors/vsphere.md |
beaker-3.13.0 | docs/how_to/hypervisors/vsphere.md |