You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if there was a way to specify a description for each boot command in some way. Perhaps each entry in the boot_command array could be an array where the first element is the command and the second is the description. When logging is enabled (PACKER_LOG=1) Packer would output the description each time it outputs a boot command.
The use case is if an installation requires many steps, resulting in many boot commands, it's difficult to determine at which boot command Packer currently is. It's easy that the boot commands and the actual installation get out of sync and it would be really useful to know at which boot command Packer and the installation got out of sync. Here's an extract from the boot commands I'm using to install NetBSD:
boot_command = [
"a<enter><wait5>", // Installation messages in English
"a<enter><wait5>", // Keyboard type: unchanged
"a<enter><wait5>", // Install NetBSD to hard disk
"b<enter><wait5>", // Yes
"a<enter><wait5>", // Available disks: sd0
"a<enter><wait5>", // Guid Partition Table
"a<enter><wait5>", // This is the correct geometry
The corresponding output procude by Packer when logging is enabled is:
I've already added comments in the source file to help make it easier to understand which command corresponds to which step in the installation process. But looking at the out put, there's no easy way to correlate a command in the output back to the command in the source code. In this case, 6 out of 7 commands are the same: Sending char 'a', code 0x61, shift false.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
It would be useful if there was a way to specify a description for each boot command in some way. Perhaps each entry in the
boot_command
array could be an array where the first element is the command and the second is the description. When logging is enabled (PACKER_LOG=1
) Packer would output the description each time it outputs a boot command.The use case is if an installation requires many steps, resulting in many boot commands, it's difficult to determine at which boot command Packer currently is. It's easy that the boot commands and the actual installation get out of sync and it would be really useful to know at which boot command Packer and the installation got out of sync. Here's an extract from the boot commands I'm using to install NetBSD:
The corresponding output procude by Packer when logging is enabled is:
I've already added comments in the source file to help make it easier to understand which command corresponds to which step in the installation process. But looking at the out put, there's no easy way to correlate a command in the output back to the command in the source code. In this case, 6 out of 7 commands are the same:
Sending char 'a', code 0x61, shift false
.The text was updated successfully, but these errors were encountered: