Sha256: d2467d71cb2dd5f53f5dea9ae25ad916ad9035346ecb0e9f0a8607657c0d28ad

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

# -*- mde: 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.box = "google/gce"

  config.vm.provider :google do |google, override|
    google.google_project_id = "YOUR_GOOGLE_CLOUD_PROJECT_ID"
    google.google_json_key_location = "/path/to/your/private-key.json"

    google.image_family = 'ubuntu-1604-lts'

    override.ssh.username = "mitchellh"
    override.ssh.private_key_path = "~/.ssh/id_rsa"
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-google-2.7.0 vagrantfile_examples/Vagrantfile.simple
vagrant-google-2.6.0 vagrantfile_examples/Vagrantfile.simple
vagrant-google-2.5.0 vagrantfile_examples/Vagrantfile.simple