Save files persistently in ESXi5 USB after a reboot

Is it possible to save files persistently  in the usb for ESXi5? We have blades that are moving to different location and first thing I need to do is run a shell script to change the vmkernel port for management.

That being said no network or SAN is up when the server is first installed.
LVL 21
MazdajaiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
why not login interactively, at the console, and perform the changes required, when at the site?

you can change the contents, of the state files, on the USB flash drive, if required, although this is not a supported method of deployment.
0
MazdajaiAuthor Commented:
That's what I am thinking to do,. But why type instead of running a shell script ?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

MazdajaiAuthor Commented:
Putting files in rc.local can be scary. Is there a persistent directory I can put files in and run manually?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
bootbank, but any changes to the ESXi installation is a hack and not supported.
0
MazdajaiAuthor Commented:
Is there any other location?

I may have been unclear on the question. I am not trying to modify anything. Just a file system I can stage few scripts to update the ips on the kernel port manually when the hypervisor boots up.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
maybe you could try /vmfs/volumes/vmimages
0
MazdajaiAuthor Commented:
Unfortunately doesn't work...
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will need to store the files in bootbank.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MazdajaiAuthor Commented:
I ended up running the minimal commands to get ESX hosts on the new environment and passing them via the clipboard.

Thanks for the tips regardless.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.