Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move configuration defaults out of base-box definition and into plugin #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 5, 2014

  1. Move default values out of Vagrantfile; check more env variables

    Putting the defaults in the provider plugin gives it a chance to set up
    default values before a Vagrant box has been downloaded and installed.
    
    Also, some new environment variables are checked now, which are taken
    from Joyent's SmartDataCenter CLI tools.  The traditional environment
    variables are checked and still take precedence.
    
      Config value  |  Original env vars            |  New env vars
      --------------+-------------------------------+--------------
      username      |  JOYENT_USERNAME              |  SDC_ACCOUNT
      keyname       |  (n/a)                        |  SDC_KEY_ID
      keyfile       |  JOYENT_SSH_PRIVATE_KEY_PATH  |  SDC_KEY
      password      |  JOYENT_PASSWORD              |  (n/a)
      api_url       |  JOYENT_API_URL               |  SDC_URL
    Larry Gilbert committed Dec 5, 2014
    Configuration menu
    Copy the full SHA
    2981165 View commit details
    Browse the repository at this point in the history
  2. Expand configuration info in README

    Larry Gilbert committed Dec 5, 2014
    Configuration menu
    Copy the full SHA
    f802567 View commit details
    Browse the repository at this point in the history