Code Monkey home page Code Monkey logo

vmware-esxi-kickstart-client's Introduction

Automated Installation Tool for Nested ESXi with Kickstart Client

Overview

This tool is the client for the vmware-esxi-kickstart-server.
https://github.com/makgol/vmware-esxi-kickstart-server

Functionality

When the code is executed, Nested ESXi will be automatically created in coordination with the server.

Yaml Variables

Category Value Type Description
environment vcenter
hostname string vcenter fqdn or ip
username string vcenter username
password string vcenter password
datacenter string target datacenter
resourcepool string target resourcepool
folder string target folder. It does not support recursive search of folders. Enter a path that can be seen by the vSpehre client. e.g. "Discovered virtual machine/automated-vms"
kickstartserver string url of nested-esxi-auto-installer server's api interface. e.g. http://<nested-esxi-auto-installer_ip>:80
bootportgroup string service(dhcp, tftp, api) port of nested-esxi-auto-installer
esxiInfo replica integer number of nested esxi
start_ip string start ip for nested esxi
netmask string netmask for nested esxi
gateway string gateway for nested esxi
name_prefix string name prefix for nested esxi. supported format name{n} or name{n,fixed=n}. if you set esxi{1, fixed=3}, first esxi name is esxi001.
domain string domain for nested esxi
password string root password for nested esxi
nameserver string nameserver for nested esxi
vlanid integer vlanid for nested esxi
keyboard string keyboard type for nested esxi
isofilename string installer iso file name
notvmpgcreate bool disable create default VM Network port group
cli array
string cli commands after install. if you use secure boot, commands do not work
vmparameter cpu
core integer cpu core
coreperscket integer core per sockets
memory
memoryGB integer memory size GB
networks array
string portgroup name(vss and vds are supported)
storages array
datastore string datastore name
capacityGB integer datastore name and capacity in GB
bootoption
firmware string Firmware type (bios or efi or http-efi. http-efi is supported when the parent vSphere is 7.0u2 or later.)
secureboot bool Secure boot option (secure boot is supported with only http-efi)

Usage

  1. Edit the template.yaml according to your environment.
  2. Execute the code.
    go run main.go
  3. If you use an another yaml file, you can use -yaml option.
    go run main.go -yaml <your yaml path>

Options

Option Type Default Value Description
yaml string template.yaml Please specify the yaml file if you use other template file instead of template.yaml.
changemac bool false The MAC addresses of vmk0 and vmnic0 will be set to different values. This can be useful in cases such as VCF, where vmk0 is being migrated to VDS, when the parent vSphere is using only MAC learning in its port group.

vmware-esxi-kickstart-client's People

Contributors

makgol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.