I need to reboot my ESX host a second time during the intial setup. I have everything scripted, but when I put in a second reboot command the script goes into a continuous loop. What command would I use to do this?
Thanks,
tjw82
What you should do is create 2 scripts that you run from rc.local
At the end of the 1st script let it create a reference to the second script in rc.local and let it reboot.
At the end of script 2 copy the original rc.local back.
Duncan
Blogging: http://www.yellow-bricks.com
If you find this information useful, please award points for "correct" or "helpful".
Where are you adding the 2nd reboot? In /etc/rc.d/rc.local?
What you should do is create 2 scripts that you run from rc.local
At the end of the 1st script let it create a reference to the second script in rc.local and let it reboot.
At the end of script 2 copy the original rc.local back.
Duncan
Blogging: http://www.yellow-bricks.com
If you find this information useful, please award points for "correct" or "helpful".
Can you give me an example?
Thanks,
tjw82
I am doing this at the end of the script. It sounds like I need to add another script