From 6d19f9c891d77ed85daa30fe7177c2e131b87d4d Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 23 Sep 2024 17:20:20 +0700 Subject: [PATCH] Alpine cloud appliance --- appliances/alpine-cloud.gns3a | 56 ++++++++++++++++++ cloud-init/alpine-cloud/README.md | 9 +++ .../alpine-cloud/alpine-cloud-init-data.iso | Bin 0 -> 374784 bytes cloud-init/alpine-cloud/meta-data | 2 + cloud-init/alpine-cloud/user-data | 12 ++++ 5 files changed, 79 insertions(+) create mode 100644 appliances/alpine-cloud.gns3a create mode 100644 cloud-init/alpine-cloud/README.md create mode 100644 cloud-init/alpine-cloud/alpine-cloud-init-data.iso create mode 100644 cloud-init/alpine-cloud/meta-data create mode 100644 cloud-init/alpine-cloud/user-data diff --git a/appliances/alpine-cloud.gns3a b/appliances/alpine-cloud.gns3a new file mode 100644 index 0000000..f5b5bb5 --- /dev/null +++ b/appliances/alpine-cloud.gns3a @@ -0,0 +1,56 @@ +{ + "appliance_id": "edbaa01e-2032-4ee2-bb9f-dd5c4d84c270", + "name": "Alpine Cloud Guest", + "category": "guest", + "description": "Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.", + "vendor_name": "Alpine Linux Development Team", + "vendor_url": "http://alpinelinux.org", + "vendor_logo_url": "https://raw.githubusercontent.com/GNS3/gns3-registry/master/vendor-logos/Alpine Linux.png", + "documentation_url": "http://wiki.alpinelinux.org", + "product_name": "Alpine Linux", + "product_url": "https://www.alpinelinux.org/cloud/", + "registry_version": 4, + "status": "stable", + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "usage": "Username: alpine\nPassword: alpine", + "port_name_format": "Ethernet{0}", + "qemu": { + "adapter_type": "virtio-net-pci", + "adapters": 1, + "ram": 1024, + "hda_disk_interface": "virtio", + "arch": "x86_64", + "console_type": "telnet", + "boot_priority": "c", + "kvm": "require", + "options": "-nographic" + }, + "images": [ + { + "filename": "generic_alpine-3.20.3-x86_64-bios-cloudinit-r0.qcow2", + "version": "3.20.3", + "md5sum": "97ea89bbb8abd17c81c53148d6644796", + "filesize": 187826176, + "download_url": "https://www.alpinelinux.org/cloud/", + "direct_download_url": "https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/cloud/generic_alpine-3.20.3-x86_64-bios-cloudinit-r0.qcow2" + }, + { + "filename": "alpine-cloud-init-data.iso", + "version": "1.0", + "md5sum": "5e7edd015dab0a0327c8641d5633de6a", + "filesize": 374784, + "download_url": "https://github.com/GNS3/gns3-registry/tree/master/cloud-init/alpine-cloud", + "direct_download_url": "https://github.com/GNS3/gns3-registry/raw/master/cloud-init/alpine-cloud/alpine-cloud-init-data.iso" + } + ], + "versions": [ + { + "name": "3.20.3", + "images": { + "hda_disk_image": "generic_alpine-3.20.3-x86_64-bios-cloudinit-r0.qcow2", + "cdrom_image": "alpine-cloud-init-data.iso" + } + } + ] +} diff --git a/cloud-init/alpine-cloud/README.md b/cloud-init/alpine-cloud/README.md new file mode 100644 index 0000000..dbd5c6e --- /dev/null +++ b/cloud-init/alpine-cloud/README.md @@ -0,0 +1,9 @@ +# Alpine-cloud cloud-init-data image for GNS3 virtual appliance + +Generated using the following commands: + +``` +printf "#cloud-config\n\npassword: alpine\nchpasswd: { expire: False }\nssh_pwauth: True\n" > user-data +printf "instance-id: alpine-cloud\nlocal-hostname: alpine-cloud\n" > meta-data +mkisofs -output alpine-cloud-init-data.iso -volid cidata -joliet -rock user-data meta-data +``` diff --git a/cloud-init/alpine-cloud/alpine-cloud-init-data.iso b/cloud-init/alpine-cloud/alpine-cloud-init-data.iso new file mode 100644 index 0000000000000000000000000000000000000000..209fdcd49be3d4da47f9a9832248d29e1055938f GIT binary patch literal 374784 zcmeI*OK%&;0RZ4x2Sr>4P0^r8gFtQuX$vF=$&_u_kb7dOrL>9o0GA5vlfX)pEkv?Z zJ&*!z1NhYT*W?nQxBi}7jQ)gnmJchoR=W?`-9tlx_--Zpo(hR4Gf zAD>D7V-lGLv(&R;7D84%!quyxHaT4T`DwOyt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UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5;&ACAC(020q4 Ae*gdg literal 0 HcmV?d00001 diff --git a/cloud-init/alpine-cloud/meta-data b/cloud-init/alpine-cloud/meta-data new file mode 100644 index 0000000..60fbcc8 --- /dev/null +++ b/cloud-init/alpine-cloud/meta-data @@ -0,0 +1,2 @@ +instance-id: alpine-cloud +local-hostname: alpine-cloud \ No newline at end of file diff --git a/cloud-init/alpine-cloud/user-data b/cloud-init/alpine-cloud/user-data new file mode 100644 index 0000000..ec99134 --- /dev/null +++ b/cloud-init/alpine-cloud/user-data @@ -0,0 +1,12 @@ +#cloud-config + +package_update: false +package_upgrade: false +package_reboot_if_required: false + +password: alpine +chpasswd: { expire: False } +ssh_pwauth: True + +users: +- default