The script:
Installing is OK. But I want after installing has been completed auto eject CD.
What should I do?
Hello as900w,
Try this (or specify the device name if you know it):
eject /dev/cdrom/mpx.*
Bob
it's failed.
reboot --eject
It's failed.
I thought eject was default, "reboot --noeject" to prevent it.
I want to eject CD.
If setting noeject, the CD will keep in CD-ROM.
This is my understand.
But have you actually tried it with only specifying the reboot command?
It's my understanding that the CD-ROM tray is always ejected when the host is rebooted during an ESXi install, unless the "--noeject" switch is set.
So as Daphnisov asks, did you try "reboot" on its own?
I have tried only specifying the reboot command