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

Add Ubuntu example using cloud-init #109

Closed
carltonnorthern opened this issue Feb 24, 2023 · 6 comments
Closed

Add Ubuntu example using cloud-init #109

carltonnorthern opened this issue Feb 24, 2023 · 6 comments
Assignees

Comments

@carltonnorthern
Copy link

/kind feature

Ubuntu utilizing cloud-init does things a little differently and it would be good to have an example showcasing how this plugin would work.

I've gotten this to work already but have one issue with it. It won't auto install without manually typing "yes" at the autoinstall prompt. I used some of the code from https://github.com/andif888/packer-ubuntu-vsphere-iso and they have a boot_comand (https://github.com/andif888/packer-ubuntu-vsphere-iso/blob/master/ubuntu-2004.pkrvars.hcl) which bypasses this with vSphere. But I can't figure out if this is something that is supported with this plugin or not. I don't think it is.

@tuxtof
Copy link
Contributor

tuxtof commented Feb 27, 2023

Hello @carltonnorthern

concerning boot_command we already talk about that in #49 and #105

using ubuntu cloud-image as a starting point is the best approach here

let me add an exemple

@tuxtof tuxtof self-assigned this Feb 27, 2023
@tuxtof
Copy link
Contributor

tuxtof commented Feb 27, 2023

ubuntu example added in #110

@tuxtof tuxtof closed this as completed Feb 27, 2023
@carltonnorthern
Copy link
Author

Thank you!

@darthVikes
Copy link

darthVikes commented Aug 16, 2023

Not everyone will want to use a cloud image, so I think that's a bad assumption. boot_command should be added so that it can have more equal footing with vmware.

@tuxtof
Copy link
Contributor

tuxtof commented Aug 16, 2023

Hello @darthVikes

I'm fully agree with you and that's why there is an alternate example who use kickstart iso image
but for some OS it can be used out of the box due to the lack of boot_command support

there is no assumption we don't need/want boot_command, but the problem is that there is no keypress support in the Nutanix API console so we are not able to implement boot_command support in packer plugin right now

to keep it simple , it's not that we don't want to but that we can't ... for the moment

once the feature will be available from API side we'll get it up and running in no time.

please open a feature request support ticket on the Nutanix portal , it will help to track and manage priorities

@darthVikes
Copy link

@tuxtof : Gotcha yah its hard to implement something if the APIs are not there. Is there a main Feature request number that we could reference? vs. just putting in a new ticket? that way it will be easier to track # of people requesting the feature?

I was able to get the img_ working and have it boot from the iso, however, have some additional questions on that that I opened some new tickets on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants