Sha256: 15600ac2fbcf2a36231d3f8d8af6026e6de517498e8cb74214f91a2d0d120cef
Contents?: true
Size: 791 Bytes
Versions: 2
Compression:
Stored size: 791 Bytes
Contents
# frozen_string_literal: true require "chef/provisioning" require "chef/provisioning/vsphere_driver" # # This is the main way to connect to vSphere # with_vsphere_driver host: "172.16.20.2", insecure: true, user: "administrator@vsphere.local", password: "PASSWORD" # # These are the machine_options that you need to declare # with_machine_options bootstrap_options: { num_cpus: 2, memory_mb: 4096, datacenter: "Datacenter", resource_pool: "Cluster", template_folder: "Linux", template_name: "ubuntu16", ssh: { user: "admini", password: "PASSWORD", paranoid: false, }, }, sudo: true # # This is where you can declare the machine # machine "testing-ubuntu" do tag "haha" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-provisioning-vsphere-2.3.1 | examples/ubuntu-provision.rb |
chef-provisioning-vsphere-2.3.0 | examples/ubuntu-provision.rb |