Hey guys,
I downloaded a bunch of patches into my repository and unpackaged them. I'm left with a directory looking like this:
root@remoteServ]# ls
ESX-1001724 ESX-1001728 ESX-1001732 ESX-1001904 ESX-1001908 ESX-1002089
ESX-1001725 ESX-1001729 ESX-1001735 ESX-1001905 ESX-1002086 ESX-1002090
ESX-1001726 ESX-1001730 ESX-1001902 ESX-1001906 ESX-1002087
ESX-1001727 ESX-1001731 ESX-1001903 ESX-1001907 ESX-1002088
These all sit in a directory named "patches."
Rather than iterating through all of these, how can I just merge them all into one so that I can just call something like
esxupdate -l -r ftp://remoteServ/vmware/patches info
and it will list all patches. When I try this now it says "Invalid repository".
Does replacing info with query do what you need?
You may script patch install like this:
#!/bin/bash
tmpdir=/var/updates
esxupdate -nr file:$tmpdir/ESX-5874303 update
esxupdate -nr file:$tmpdir/ESX-1271657 update
esxupdate -nr file:$tmpdir/ESX-1410076 update
esxupdate -nr file:$tmpdir/ESX-1917602 update
esxupdate -nr file:$tmpdir/ESX-2031037 update
esxupdate -nr file:$tmpdir/ESX-2066306 update
esxupdate -nr file:$tmpdir/ESX-.......................
Regards