diff --git a/appliances/fedora-cloud.gns3a b/appliances/fedora-cloud.gns3a new file mode 100644 index 0000000..4a71819 --- /dev/null +++ b/appliances/fedora-cloud.gns3a @@ -0,0 +1,53 @@ +{ + "appliance_id": "0d505121-14e3-4414-88ab-b7f102ea6176", + "name": "Fedora Cloud Base", + "category": "guest", + "description": "Fedora Official image for self-hosted cloud", + "vendor_name": "The Fedora Project", + "vendor_url": "https://getfedora.org/", + "documentation_url": "https://docs.fedoraproject.org/en-US/docs/", + "product_name": "Fedora Cloud Base", + "product_url": "https://alt.fedoraproject.org/cloud/", + "registry_version": 3, + "status": "stable", + "maintainer": "Da-Geek", + "maintainer_email": "dageek@dageeks-geeks.gg", + "usage": "Username: fedora\nPassword: fedora", + "port_name_format": "Eth{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": "Fedora-Cloud-Base-35-1.2.x86_64.qcow2", + "version": "35-1.2", + "md5sum": "cfa9cdcfb946e5f4cf9dd4d7906008d0", + "filesize": 376897536, + "download_url": "https://download.fedoraproject.org/pub/fedora/linux/releases/35/Cloud/x86_64/images/Fedora-Cloud-Base-35-1.2.x86_64.qcow2" + }, + { + "filename": "fedora-cloud-init-data.iso", + "version": "1.0", + "md5sum": "3d0d6391d3f5ece1180c70b9667c4dca", + "filesize": 374784, + "download_url": "https://github.com/GNS3/gns3-registry/raw/master/cloud-init/fedora-cloud/fedora-cloud-init-data.iso" + } + ], + "versions": [ + { + "name": "35-1.2", + "images": { + "hda_disk_image": "Fedora-Cloud-Base-35-1.2.x86_64.qcow2", + "cdrom_image": "fedora-cloud-init-data.iso" + } + } + ] +} diff --git a/cloud-init/fedora-cloud/README.md b/cloud-init/fedora-cloud/README.md new file mode 100644 index 0000000..2dcad34 --- /dev/null +++ b/cloud-init/fedora-cloud/README.md @@ -0,0 +1,9 @@ +# Fedora-cloud cloud-init-data image for GNS3 virtual appliance + +Generated using the following commands: + +``` +printf "#cloud-config\n\npassword: fedora\nchpasswd: { expire: False }\nssh_pwauth: True\n" > user-data +printf "instance-id: fedora-cloud\nlocal-hostname: fedora-cloud\n" > meta-data +mkisofs -output fedora-cloud-init-data.iso -volid cidata -joliet -rock user-data meta-data +``` diff --git a/cloud-init/fedora-cloud/fedora-cloud-init-data.iso b/cloud-init/fedora-cloud/fedora-cloud-init-data.iso new file mode 100644 index 0000000..13fd582 Binary files /dev/null and b/cloud-init/fedora-cloud/fedora-cloud-init-data.iso differ diff --git a/cloud-init/fedora-cloud/meta-data b/cloud-init/fedora-cloud/meta-data new file mode 100644 index 0000000..f0e6192 --- /dev/null +++ b/cloud-init/fedora-cloud/meta-data @@ -0,0 +1,2 @@ +instance-id: fedora-cloud +local-hostname: fedora-cloud diff --git a/cloud-init/fedora-cloud/user-data b/cloud-init/fedora-cloud/user-data new file mode 100644 index 0000000..8fd55ad --- /dev/null +++ b/cloud-init/fedora-cloud/user-data @@ -0,0 +1,5 @@ +#cloud-config + +password: fedora +chpasswd: { expire: False } +ssh_pwauth: True