VMware {code} Community
samsvmware
Enthusiast
Enthusiast

How to run the control script (/etc/rc3.d/XXxxxfirstboot) inside vm?

Hi All,

     I need a perl sdk script to run the control scripts file inside "/etc/rc3.d/xxxxxxxx" the VM . Anyone post any script or any reference link which helps me to move further on this

Reply
0 Kudos
2 Replies
stumpr
Virtuoso
Virtuoso

Assuming you want to run it after the boot (init) process, look into GuestOperations.

William Lam posted a good example here

Reuben Stump | http://www.virtuin.com | @ReubenStump
Reply
0 Kudos
samsvmware
Enthusiast
Enthusiast

In Our VM creation process flows in the same script like .

script begins at ..

1) VM creation

2) After successful creation of VM

3)) VM reboot (for power ON the vm )

4) Run control script  ==> (/etc/rc3.d/SZxxxxxxfirstboot)

5) VDisk Creation (According to the user input)

script end.

Reply
0 Kudos