script to install vmware

Posted on 2011-10-20
Last Modified: 2012-05-12
hi guys

im trying to install 4.1 esxi using a kickstart script - when i add a second nic to the management portgroup it puts it in standby mode

any ideas on how to put it in active mode using the script?
Question by:mikeleahy
    LVL 21

    Expert Comment

    by:Luciano Patrão

    Use something like this on that Portgroup

    vmware-vim-cmd hostsvc/net/vswitch_setpolicy –nicorderpolicy-active=vmnic0,vmnic1 –nicteaming-policy=loadbalance_ip vSwitch0

    But I always used this as a post installation.

    After VMware with a ks file, I always use a post_installation script. This was to enable teaming and create lots of VLANs

    Can you upload your ks file?

    Hope this can help.


    Author Comment

    thanks fro reply.

    do you know if its standard for all nic teaming options to be ticked when just using the kick start file for the original install (not post script)

    when i do manual install - none of the boxes are ticked but with kickstart they are all tickced
    LVL 21

    Accepted Solution


    I know that this only work as a post installation script. I was never able to do this in the installation script.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Beacon probing is a configurable network failure detection mechanism used by ESX to identify downstream network failures. The purpose of this article is to explain some of the mystery and clarify a commonly misunderstood subject. The information in …
    In this article, I am going to expose some of the hidden, undocumented, unsupported features and functions of the VMware vSphere Hypervisor (ESXi). VMware vSphere ESXi 4.x, and ESXi 5.0 does not officially support Raw Disk Mapping of Local Stora…
    Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
    Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now