I'm trying to create an iso that runs a script and turns off the machine (based off of the instructions listed by Peter Pudlak here).
With a few tweaks, everything seems to work on a ubuntu 16.04 iso. However, when I power off the machine, I'm prompted to eject the cd on shutdown. The machine does not power off until I manually hit enter. I'm trying to automate this process and can't manually hit enter when prompted. Is there a way to either
- Force turning off the machine without hitting this prompt or
- Customizing the iso further so that it doesn't have this behavior?
This article explains how to do what I want, but the files that it lists in step 6 are not part of a ubuntu 16.04 desktop iso. Any pointers would be appreciated.