Sha256: 10e688297ad04210cb996142d598f962a138c182482b20949675f0a2f8d58a96

Contents?: true

Size: 930 Bytes

Versions: 4

Compression:

Stored size: 930 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :
# Copyright 2013 Google 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.configure("2") do |config|
  config.vm.provider :google do |_google, override|
    if ENV['GOOGLE_SSH_USER'] and ENV['GOOGLE_SSH_KEY_LOCATION']
      override.ssh.username = ENV['GOOGLE_SSH_USER']
      override.ssh.private_key_path = ENV['GOOGLE_SSH_KEY_LOCATION']
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-google-1.0.0 example_boxes/gce-test/Vagrantfile
vagrant-google-1.0.0.rc0 example_boxes/gce-test/Vagrantfile
vagrant-google-0.2.5 example_boxes/gce-test/Vagrantfile
vagrant-google-0.2.5.rc0 example_boxes/gce-test/Vagrantfile