Sha256: 1f147f10c858b124d3c079c85a0d00a80acef3dd07f70ecfcc32368d08e7dac2

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

# 0.4.1 - 2012/03/26

* Minor fixes

# 0.4 - 2012/03/25 

* Do not include test data inside the gem.

* Define a Logger object

```
    ESX::Log.info "foobar"
```

* Added some debugging with Log.debug
* ESX::Host now has a *templates_dir* attribute and supports uploading and cloning templates:

```
    host = ESX::Host.connect 'my-esx-host', 
                             'root', 
                             'password'

    host.import_template "/path/to/template.vmdk"
```

This will copy the "template.vmdk" file to the default templates_dir in ESX. Default templates dir is "/vmfs/volumes/datastore1/esx-gem/templates".

The template is automatically converted to VMDK thin format.
  
Using the template:

```
    host.copy_from_template "template.vmdk", "/vmfs/volumes/datastore1/foo.vmdk"

````

Sorter version:

```
    host.import_disk "/path/to/local/template.vmdk",      # local file 
                     "/vmfs/volumes/datastore1/foo.vmdk", # remote path in ESX
                     { :use_template => true }
```

If the template "template.vmdk" is found, use that. Otherwise import the disk, save it as a template and clone the template to "/vmfs/volumes/datastore1/foo.vmdk"

* Added the following methods to ESX::Host

    * ESX::Host.has_template? 
    * ESX::Host.list_templates 
    * ESX::Host.delete_template

* Better test coverage

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esx-0.4.4 CHANGELOG.md
esx-0.4.3 CHANGELOG.md
esx-0.4.2 CHANGELOG.md