Categorygithub.com/prasannakumarik25/https-github.com-mavrick202-terraformsingleinstancebuildervmwarecommon
package
0.12.3
Repository: https://github.com/prasannakumarik25/https-github.com-mavrick202-terraformsingleinstance.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
EncodeVMX takes a map and turns it into valid VMX contents.
NewDriver returns a new driver implementation for this operating system, or an error if the driver couldn't be initialized.
NewLocalArtifact returns a VMware artifact containing the files in the given directory.
ParseVMX parses the keys and values from a VMX file and returns them as a Go map.
ReadVMX takes a path to a VMX file and reads it into a k/v mapping.
No description provided by the author
No description provided by the author
WriteVMX takes a path to a VMX file and contents in the form of a map and writes it out.
# Constants
BuilderId for the local artifacts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
These are the extensions of files that are important for the function of a VMware virtual machine.
# Structs
DHCPLeaseGuestLookup looks up the IP address of a guest using DHCP lease information from the VMware network devices.
No description provided by the author
No description provided by the author
Fusion5Driver is a driver that can run VMware Fusion 5.
Fusion6Driver is a driver that can run VMware Fusion 6.
IfconfigIPFinder finds the host IP based on the output of `ip address` or `ifconfig`.
LocalOutputDir is an OutputDir implementation where the directory is on the local machine.
No description provided by the author
Player5Driver is a driver that can run VMware Player 5 on Linux.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This step removes unnecessary files from the final result.
This step cleans up the VMX by removing or changing this prior to being ready for use.
This step compacts the virtual disk for the VM unless the "skip_compaction" boolean is true.
This step configures a VMX by setting some default settings as well as taking in custom data to set, attaching a floppy if it exists, etc.
This step configures the VM to enable the VNC server.
StepOutputDir sets up the output directory by creating it if it does not exist, deleting it if it does exist and we're forcing, and cleaning it up when we're done with it.
No description provided by the author
This step runs the created virtual machine.
This step shuts down the machine.
This step suppresses any messages that VMware product might show.
This step "types" the boot command into the VM over VNC.
No description provided by the author
No description provided by the author
VMnetNatConfIPFinder finds the IP address of the host machine by retrieving the IP from the vmnetnat.conf.
No description provided by the author
No description provided by the author
Workstation9Driver is a driver that can run VMware Workstation 9.
# Interfaces
A driver is able to talk to VMware, control virtual machines, etc.
Interface to help find the IP address of a running virtual machine.
Interface to help find the host IP that is available from within the VMware virtual machines.
OutputDir is an interface type that abstracts the creation and handling of the output directory for VMware-based products.
No description provided by the author