-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi Guys,
I can't see a template for a feature / enhancement (I think it's broken according to github). So I'm sorry it's not following your expected format.
Description:
Please can we add the ability to set the instance config during packer initalization. When we are building packer images we are wanting to use GRUB2 as we would like to boot with your kernels during imaging, rather than Linode's. However, the Linode Packer integration does not allow you to set config specific variables.
As a result, we have to have a shell provisioner which runs before ansible, shuts down the instance and then reboots it. Instead, it would be much cleaner if we can get some (or all) of the linode config so that once it's booted we can get straight to work.
Use Case:
We build images, and run them, using the OS Kernel, not Linode's. This allows us to set it from boot instead of it being a post step. This is our last discrepency between Linode and AWS Image Building, which allows us to ensure that all image building works with both systems!
Thoughts:
I'm not sure if it would be best to make the config option a dictionary / object and just pass it straight through to the Linode API so it's always up to date, or if it's best to have specific config keys you would want to pass through.
You would need to launch the machine with it being powered off, change the config, and then power it on. Rather than trying to change the config once it had booted.
Many Thanks,
Tom Franklin.