GithubHelp home page GithubHelp logo

isabella232 / vagrant-vmware-appcatalyst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyft/vagrant-vmware-appcatalyst

0.0 0.0 0.0 62 KB

Vagrant provider for VMware AppCatalyst®

License: Apache License 2.0

Ruby 100.00%

vagrant-vmware-appcatalyst's Introduction

This plugin supports vmware_desktop, vmware_fusion and vmware_workstation box type, the same used by Hashicorp plugins for VMware products.

Install

Latest version can be easily installed by running the following command:

vagrant plugin install vagrant-vmware-appcatalyst

Vagrant will download all the required gems during the installation process.

After the install has completed a vagrant up --provider=vmware_appcatalyst will trigger the newly installed provider.

Note: The AppCatalyst Daemon must be running before bringing up a new vagrant box: appcatalyst-daemon start

Upgrade

If you already have vagrant-vmware-appcatalyst installed you can update to the latest version available by issuing:

vagrant plugin update vagrant-vmware-appcatalyst

Vagrant will take care of the upgrade process.

Configuration

Here's a sample Vagrantfile that builds a docker host on AppCatalyst and starts a Wordpress container on port 80, make sure you replace the placeholders with your own values.

# Set our default provider for this Vagrantfile to 'vmware_appcatalyst'
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst'

nodes = [
  { hostname: 'gantry-test-1', box: 'hashicorp/precise64' },
  { hostname: 'gantry-test-2', box: 'hashicorp/precise64' }
]

Vagrant.configure('2') do |config|

  # Configure our boxes with 1 CPU and 384MB of RAM
  config.vm.provider 'vmware_appcatalyst' do |v|
    v.cpus = '1'
    v.memory = '384'
  end

  # Go through nodes and configure each of them.j
  nodes.each do |node|
    config.vm.define node[:hostname] do |node_config|
      node_config.vm.box = node[:box]
      node_config.vm.hostname = node[:hostname]
      node_config.vm.synced_folder('/Users/frapposelli/Development', '/development')
    end
  end
end

Legal

Copyright © 2015 VMware, Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, without warranties or conditions of any kind, EITHER EXPRESS OR IMPLIED. See the License for the specific language governing permissions and limitations under the License.

vagrant-vmware-appcatalyst's People

Contributors

frapposelli avatar mleventi avatar mootpt avatar

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.