diff --git a/appliances/debian.gns3a b/appliances/debian.gns3a new file mode 100644 index 0000000..5da6d9f --- /dev/null +++ b/appliances/debian.gns3a @@ -0,0 +1,66 @@ +{ + "appliance_id": "fb5797d0-512e-4ab2-a588-d4766a441000", + "name": "Debian", + "category": "guest", + "description": "Debian is a GNU/Linux distribution composed of free and open-source software, developed by the community-supported Debian Project.", + "vendor_name": "Debian", + "vendor_url": "https://www.debian.org", + "product_name": "Debian", + "registry_version": 3, + "status": "experimental", + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "usage": "Username:\tdebian\nPassword:\tdebian\nTo become root, use \"sudo -s\".\n\nNetwork configuration:\n- In \"/etc/network/interfaces\" comment out \"source-directory /run/network/interfaces.d\"\n- Remove \"/etc/network/interfaces.d/50-cloud-init\"\n- Create \"/etc/network/interfaces.d/10-ens4\", for example:\n\nauto ens4\n#iface ens4 inet dhcp\niface ens4 inet static\n address 10.1.1.100/24\n gateway 10.1.1.1\n dns-nameservers 10.1.1.1\n", + "symbol": "linux_guest.svg", + "port_name_format": "ens{port4}", + "qemu": { + "adapter_type": "virtio-net-pci", + "adapters": 1, + "ram": 512, + "hda_disk_interface": "scsi", + "arch": "x86_64", + "console_type": "telnet", + "kvm": "allow" + }, + "images": [ + { + "filename": "debian-11-genericcloud-amd64-20211220-862.qcow2", + "version": "11.2", + "md5sum": "3bdc52b0b3622a72095efdd001780a45", + "filesize": 253231104, + "download_url": "https://cloud.debian.org/images/cloud/bullseye/", + "direct_download_url": "https://cloud.debian.org/images/cloud/bullseye/20211220-862/debian-11-genericcloud-amd64-20211220-862.qcow2" + }, + { + "filename": "debian-10-genericcloud-amd64-20211011-792.qcow2", + "version": "10.11", + "md5sum": "ea4de19b17d114b6db813ee64a6b8284", + "filesize": 232980480, + "download_url": "https://cloud.debian.org/images/cloud/buster/", + "direct_download_url": "https://cloud.debian.org/images/cloud/buster/20211011-792/debian-10-genericcloud-amd64-20211011-792.qcow2" + }, + { + "filename": "debian-cloud-init-data.iso", + "version": "1.0", + "md5sum": "43f6bf70c178a9d3c270b5c24971e578", + "filesize": 374784, + "download_url": "https://github.com/GNS3/gns3-registry/raw/master/cloud-init/Debian/debian-cloud-init-data.iso" + } + ], + "versions": [ + { + "name": "11.2", + "images": { + "hda_disk_image": "debian-11-genericcloud-amd64-20211220-862.qcow2", + "cdrom_image": "debian-cloud-init-data.iso" + } + }, + { + "name": "10.11", + "images": { + "hda_disk_image": "debian-10-genericcloud-amd64-20211011-792.qcow2", + "cdrom_image": "debian-cloud-init-data.iso" + } + } + ] +} diff --git a/cloud-init/Debian/README.md b/cloud-init/Debian/README.md new file mode 100644 index 0000000..3a39551 --- /dev/null +++ b/cloud-init/Debian/README.md @@ -0,0 +1,9 @@ +# Debian cloud-init-data image for GNS3 virtual appliance + +Generated using the following commands: + +``` +printf "#cloud-config\n\npassword: debian\nchpasswd: { expire: False }\nssh_pwauth: True\n" > user-data +printf "instance-id: debian\nlocal-hostname: debian\n" > meta-data +mkisofs -output debian-cloud-init-data.iso -volid cidata -joliet -rock user-data meta-data +``` diff --git a/cloud-init/Debian/debian-cloud-init-data.iso b/cloud-init/Debian/debian-cloud-init-data.iso new file mode 100644 index 0000000..c5eb157 Binary files /dev/null and b/cloud-init/Debian/debian-cloud-init-data.iso differ diff --git a/cloud-init/Debian/meta-data b/cloud-init/Debian/meta-data new file mode 100644 index 0000000..ac7165f --- /dev/null +++ b/cloud-init/Debian/meta-data @@ -0,0 +1,2 @@ +instance-id: debian +local-hostname: debian diff --git a/cloud-init/Debian/user-data b/cloud-init/Debian/user-data new file mode 100644 index 0000000..0887fb1 --- /dev/null +++ b/cloud-init/Debian/user-data @@ -0,0 +1,5 @@ +#cloud-config + +password: debian +chpasswd: { expire: False } +ssh_pwauth: True