EC2 set BOOT_IMAGE parameters (as through GRUB_CMDLINE_LINUX) before instance starts

0

Is it possible to set BOOT_IMAGE (can be seen after boot at cat /proc/cmdline). for an about-to-be-deployed EC2 instance?
A regular usage would be to change GRUB_CMDLINE_LINUX, run update-grub and reboot.
But I want to the instance to come up "ready" right from the start, without a need for an additional reboot.

Thanks

hudac
asked 2 months ago61 views
1 Answer
0
profile picture
answered 2 months ago
  • Right. But can't I have a "base" AMI and start it with the parameters I want dynamically? Do I must pre create it and only then I can use it?

  • Yes, Because Userdata script also execute after boot.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions