Code Monkey home page Code Monkey logo

packer-plugins-ddcloud's Introduction

CloudControl plugins for Packer

Plugins for Hashicorp Packer that target Dimension Data CloudControl.

Note: this is a work-in-progress; it's not production-ready yet.

See the plugin documentation for details.

Installing

Download the appropriate package for the latest release. Unzip the executable and place it in ~/.packer.d/plugins.

Needs Packer and OSX or Linux. Both curl and VMWare's ovftool must be in a directory that's on your $PATH.

Building

Needs Packer <= v0.8.6 (you can run the latest version of Packer, but we can only build against v0.8.6 or lower), Go >= 1.7, and GNU Make.

Sorry, the dependencies are a bit messy at the moment.

  1. Fetch correct dependency versions by running ./init.sh (one-time only).
  2. Run make dev.

Sample configurations

See the plugin documentation for examples.

packer-plugins-ddcloud's People

Contributors

tintoy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

packer-plugins-ddcloud's Issues

Unable to find uploaded source_image

Hi,

I am experiencing an issue with packer-plugins-ddcloud.
I have uploaded a customer image to use as a source_image, however the plugin does not seem to find it.

Expected result is that it should find the customer image and use this as a source_image to modify (provisioners e.g. Ansible) and build and upload a new customer image on the Dimension Data cloud.

Packer output:

# packer build debian9.json
ddcloud-customerimage output will be in this color.

    ddcloud-customerimage: Resolving datacenter 'EU7'...
    ddcloud-customerimage: Resolved datacenter 'EU7'.
==> ddcloud-customerimage: Image 'Debian9-base' not found in datacenter 'EU7'.
Build 'ddcloud-customerimage' errored: One or more steps failed to complete

Used builder configuration:

  "builders": [{
        "type": "ddcloud-customerimage",
        "mcp_region": "EU",
        "mcp_user": "MYLOGIN",
        "mcp_password": "MYPASSWORD",
        "datacenter": "EU7",
        "networkdomain": "develop",
        "vlan": "prod-vlan-120",
        "source_image": "Debian9-base",
        "target_image": "Debian 9 test",
        "use_private_ipv4": "true",
        "communicator" : "ssh"
    }

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.