• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 442
  • Last Modified:

script to install vmware

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?
  • 2
1 Solution
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

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.

mikeleahyAuthor Commented:
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
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now