Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot Commands Stuff #96

Open
aRustyDev opened this issue Feb 5, 2022 · 0 comments
Open

Boot Commands Stuff #96

aRustyDev opened this issue Feb 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@aRustyDev
Copy link

Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

There's a few things I'm hoping for from this.

  1. Compound 'boot commands' ie <ctrl+key> or <ctrl+shift+key> or <<ctrl><shift><key>>
  2. More boot commands <a>, <b>, <c>
  3. Boot command repetitions ie <bs99>

Use Case(s)

I'm currently working to get ubuntu-21.10-live-server-amd64 to AutoInstall. I just recently completed one for 20.04, but there's a change in how they do Boot Commands in 21. Instead of the GRUB command-line just accepting GRUB commands, they have a "bash-like" command-line that seems to accept a subset of the commands. Which don't include things like autoinstall. However they do have the option to enter e to open an emacs editor that "edits the commands before booting" which is what the GRUB commandline did in 20.04.

I can get this to work by just retyping the keystroke commands ( literally 99 times), but this is obviously not ideal.

If key strokes for every alphanumeric could be added and compound keystrokes were a thing then we could take advantage of the Emacs language features. If nothing else having boot command repetition would significantly cut down on the ugliness and errors involved in configuration files.

Potential references/configs

I think this may need to be fixed/extended somewhere in here
https://github.com/hashicorp/packer-plugin-sdk/tree/main/bootcommand

I'd love to be able to extend this myself, but I don't have the confidence with GoLang to make it happen just yet.
I also submitted this in the packer-plugin-proxmox repo too, since that's what I've found the need in.

@aRustyDev aRustyDev added the enhancement New feature or request label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant