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

Alpine cloudinit image option #900

Open
elico opened this issue Jul 13, 2024 · 5 comments · May be fixed by #917
Open

Alpine cloudinit image option #900

elico opened this issue Jul 13, 2024 · 5 comments · May be fixed by #917

Comments

@elico
Copy link
Contributor

elico commented Jul 13, 2024

Hey,

I have been using cloud images of alpine linux for quite a while now and was wondering if there would be a possibility to add one into the registry.
The cloud images are public at:
https://www.alpinelinux.org/cloud/

For now this is the relevant image:
https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/cloud/generic_alpine-3.20.1-x86_64-bios-cloudinit-r0.qcow2

and we just need to create a cloud-init iso to create any image we would like.
It can be frr or openvswitch or a web server or just plain alpine linux with user root and password alpine or what ever.

@grossmj What do you think?

@grossmj
Copy link
Member

grossmj commented Jul 22, 2024

@elico yes that would be great. Just a plain Alpine Linux 👍

Thanks.

@grossmj
Copy link
Member

grossmj commented Jul 31, 2024

@elico do you have any update on this or need some help?

@elico
Copy link
Contributor Author

elico commented Jul 31, 2024 via email

@elico
Copy link
Contributor Author

elico commented Aug 1, 2024

@grossmj I have published the user-data and meta-data templates at:
https://git.ngtech.co.il/NgTech-LTD/disk-from-cloud-image/src/branch/master/gen-cloud-init

There is also a user-data-ovs which is using a github hosted script to generate an OVS appliance.
It's very useful to use alpine based images in the registry and just for the example:

  • nginx
  • ovs
  • apache
  • iperf3
  • frr
  • etc...

Indeed there are benefits for Docker containers but these cannot complete many networking tasks which are for infrastructure so these VM templates will benefit GNS3 users a lot.

Thanks,
Eliezer

  • let me know if you need something specific from me for the alpine related images.

@grossmj grossmj linked a pull request Sep 23, 2024 that will close this issue
@grossmj
Copy link
Member

grossmj commented Sep 23, 2024

@elico

I have tried to create a Alpine cloud appliance in #917 however I am facing some issues.

The appliance is connect to a NAT cloud so it should have access to Internet.

First the appliance takes some time to boot because it is looking for something: the cloud's instance metadata service (IMDS).

Image

Then even though it says the default username is "alpine" and I configured the password "alpine", I can't see to be able to login:

Image

I haven't had time to investigate more. Maybe I just missed something obvious? I just don't want to spend to much time creating / maintaining appliances.

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

Successfully merging a pull request may close this issue.

2 participants