Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 437
  • 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?
0
mikeleahy
Asked:
mikeleahy
  • 2
1 Solution
 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

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.

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

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

Jail.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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