If I want to create a virtual machine image using Packer, one option is to download an operating system's ISO image and use that as the base for a custom setup. When doing this, one needs to provide the boot_command
, which is an array of strings that tell Packer how to setup the operating system.
Now my question is: How do I find out the correct boot_command
steps for a given operating system? Of course I might boot it up manually and write down every single thing I type, but I wonder if there is a more convenient way.
Of course I can also ask Google about it, but is there an "official" way? E.g., are the steps for Ubuntu documented somewhere in the Ubuntu documentation? Or is it actually trial and error, or at least peeking at somebody else's work?