diff --git a/appliances/debian.gns3a b/appliances/debian.gns3a index 0d1defd..47dfe59 100644 --- a/appliances/debian.gns3a +++ b/appliances/debian.gns3a @@ -23,6 +23,14 @@ "kvm": "allow" }, "images": [ + { + "filename": "debian-12.6.qcow2", + "version": "12.6", + "md5sum": "04753ba14295c6414d49bffe27b676ae", + "filesize": 280907776, + "download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/", + "direct_download_url": "https://downloads.sourceforge.net/project/gns-3/Qemu%20Appliances/debian-12.6.qcow2" + }, { "filename": "debian-12.4.qcow2", "version": "12.4", @@ -31,6 +39,14 @@ "download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/", "direct_download_url": "https://downloads.sourceforge.net/project/gns-3/Qemu%20Appliances/debian-12.4.qcow2" }, + { + "filename": "debian-11.10.qcow2", + "version": "11.10", + "md5sum": "99a1dc8e110d641309674e69b630e732", + "filesize": 263520256, + "download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/", + "direct_download_url": "https://downloads.sourceforge.net/project/gns-3/Qemu%20Appliances/debian-11.10.qcow2" + }, { "filename": "debian-11.8.qcow2", "version": "11.8", @@ -41,12 +57,24 @@ } ], "versions": [ + { + "name": "12.6", + "images": { + "hda_disk_image": "debian-12.6.qcow2" + } + }, { "name": "12.4", "images": { "hda_disk_image": "debian-12.4.qcow2" } }, + { + "name": "11.10", + "images": { + "hda_disk_image": "debian-11.10.qcow2" + } + }, { "name": "11.8", "images": { diff --git a/packer/debian/debian-11.json b/packer/debian/debian-11.json index 588c414..d0dacf9 100644 --- a/packer/debian/debian-11.json +++ b/packer/debian/debian-11.json @@ -1,5 +1,5 @@ { - "iso_url": "https://cloud.debian.org/images/cloud/bullseye/20231013-1532/debian-11-genericcloud-amd64-20231013-1532.qcow2", - "iso_checksum": "b3b2f6b3411ea6e2f097a91b579ad2838611d5cdf8fbd1089435c55f9c6bb398", + "iso_url": "https://cloud.debian.org/images/cloud/bullseye/20240702-1796/debian-11-genericcloud-amd64-20240702-1796.qcow2", + "iso_checksum": "d236925c59ede4ab634141ca5433f1caa38dbdc0a1df438c57ee4115754014b1", "vm_name": "debian-11.qcow2" } diff --git a/packer/debian/debian.json b/packer/debian/debian.json index cb5a077..efc169f 100644 --- a/packer/debian/debian.json +++ b/packer/debian/debian.json @@ -1,7 +1,7 @@ { "variables": { - "iso_url": "https://cloud.debian.org/images/cloud/bookworm/20231210-1591/debian-12-genericcloud-amd64-20231210-1591.qcow2", - "iso_checksum": "16e360b50572092ff5c1ed994285bcca961df28c081b7bb5d7c006d35bce4914", + "iso_url": "https://cloud.debian.org/images/cloud/bookworm/20240702-1796/debian-12-genericcloud-amd64-20240702-1796.qcow2", + "iso_checksum": "a4bc7fa86ef51d2b059ce0abd9c6130b4c36a3449b8a130bb509602924e9e6e7", "disk_size": "2G", "vm_name": "debian.qcow2", "setup_script": "debian.sh" diff --git a/packer/debian/scripts/networking.sh b/packer/debian/scripts/networking.sh index 0a846cb..6019ee3 100644 --- a/packer/debian/scripts/networking.sh +++ b/packer/debian/scripts/networking.sh @@ -8,14 +8,17 @@ else printf '127.0.1.1\t%s\t%s\n' "$(hostname -f)" "$(hostname)" >> /etc/hosts fi -# replace systemd-resolved by resolvconf -cp /etc/resolv.conf /etc/resolv.conf.orig +# replace netplan and systemd-resolved by ifupdown and resolvconf export DEBIAN_FRONTEND=noninteractive apt-get update apt-get -y upgrade +cp /etc/resolv.conf /etc/resolv.conf.orig apt-get -y install --purge ifupdown resolvconf cat /etc/resolv.conf.orig > /etc/resolv.conf rm -f /etc/resolv.conf.orig +echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg +rm -rf /etc/netplan +apt-get -y autoremove --purge netplan.io # replace cloud-init network configuration cat > /etc/network/interfaces <<'EOF'