mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Drop support for Equinix Metal (Packet)
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
4892c5c6ab
commit
ffda107907
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
@ -189,15 +189,6 @@ jobs:
|
||||
|
||||
images_out="images"
|
||||
|
||||
has_packet=0
|
||||
has_pxe=0
|
||||
formats="${IMAGE_FORMATS}"
|
||||
for format in "${formats}";do
|
||||
[[ "${format}" = 'packet' ]] || [[ "${format}" = 'equinix_metal' ]] && has_packet=1
|
||||
[[ "${format}" = 'pxe' ]] && has_pxe=1
|
||||
done
|
||||
|
||||
[[ ${has_packet} -eq 1 ]] && [[ ${has_pxe} -eq 0 ]] && set -- 'pxe' "${@}"
|
||||
if echo "$formats" | tr ' ' '\n' | grep -q '^vmware'; then
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed '/vmware.*/d')
|
||||
formats+=" vmware vmware_insecure vmware_ova vmware_raw"
|
||||
@ -206,8 +197,6 @@ jobs:
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed '/ami.*/d' | sed '/aws/d')
|
||||
formats+=" ami ami_vmdk"
|
||||
fi
|
||||
# Keep compatibility with SDK scripts where "equinix_metal" remains unknown.
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed 's/equinix_metal/packet/g')
|
||||
|
||||
for format in ${formats}; do
|
||||
if [ "${format}" = qemu ] || [ "${format}" = qemu_uefi_secure ]; then
|
||||
|
||||
@ -23,7 +23,6 @@ VALID_IMG_TYPES=(
|
||||
kubevirt
|
||||
openstack
|
||||
openstack_mini
|
||||
packet
|
||||
parallels
|
||||
proxmoxve
|
||||
pxe
|
||||
@ -56,7 +55,6 @@ VALID_OEM_PACKAGES=(
|
||||
hyperv
|
||||
kubevirt
|
||||
openstack
|
||||
packet
|
||||
proxmoxve
|
||||
qemu
|
||||
scaleway
|
||||
@ -281,10 +279,6 @@ IMG_hyperv_vhdx_OEM_SYSEXT=oem-hyperv
|
||||
IMG_cloudsigma_DISK_FORMAT=qcow2
|
||||
IMG_cloudsigma_OEM_PACKAGE=oem-cloudsigma
|
||||
|
||||
## packet
|
||||
IMG_packet_OEM_PACKAGE=common-oem-files
|
||||
IMG_packet_OEM_SYSEXT=oem-packet
|
||||
|
||||
## scaleway
|
||||
IMG_scaleway_DISK_FORMAT=qcow2
|
||||
IMG_scaleway_DISK_LAYOUT=vm
|
||||
@ -878,15 +872,6 @@ You can pass extra kernel parameters with -append, for example:
|
||||
When using -nographic or -serial you must also enable the serial console:
|
||||
./$(basename "${script}") -nographic -append 'console=ttyS0,115200n8'
|
||||
EOF
|
||||
local packetipxe="$(_dst_dir)/flatcar_production_packet.ipxe"
|
||||
cat > "$packetipxe" <<EOF
|
||||
#!ipxe
|
||||
|
||||
kernel flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.oem.id=packet console=ttyS1,115200n8 flatcar.autologin
|
||||
initrd flatcar_production_pxe_image.cpio.gz
|
||||
boot
|
||||
EOF
|
||||
VM_GENERATED_FILES+=( "$packetipxe" )
|
||||
}
|
||||
|
||||
_write_iso_conf() {
|
||||
|
||||
1
changelog/changes/2026-04-23-equinix-metal.md
Normal file
1
changelog/changes/2026-04-23-equinix-metal.md
Normal file
@ -0,0 +1 @@
|
||||
- Dropped support for Equinix Metal (Packet). The servers are due to be switched off on June 30th 2026.
|
||||
@ -27,7 +27,7 @@
|
||||
#
|
||||
# 1. Architecture (ARCH) of the TARGET vm images ("arm64", "amd64").
|
||||
# 2. Image type to be tested. One of:
|
||||
# ami, azure, azure_pro, digitalocean, gce, gce_pro, packet, qemu, qemu_uefi, vmware
|
||||
# ami, azure, azure_pro, digitalocean, gce, gce_pro, qemu, qemu_uefi, vmware
|
||||
#
|
||||
# OPTIONAL INPUT:
|
||||
#
|
||||
|
||||
@ -79,16 +79,6 @@ function _vm_build_impl() {
|
||||
|
||||
apply_local_patches
|
||||
|
||||
# automatically add PXE to formats if we build for Equinix Metal (packet).
|
||||
local has_packet=0
|
||||
local has_pxe=0
|
||||
for format; do
|
||||
[[ "${format}" = 'packet' ]] || [[ "${format}" = 'equinix_metal' ]] && has_packet=1
|
||||
[[ "${format}" = 'pxe' ]] && has_pxe=1
|
||||
done
|
||||
|
||||
[[ ${has_packet} -eq 1 ]] && [[ ${has_pxe} -eq 0 ]] && set -- 'pxe' "${@}"
|
||||
|
||||
# Convert platform names (also used to find the test scripts) to image formats they entail
|
||||
formats="$*"
|
||||
if echo "$formats" | tr ' ' '\n' | grep -q '^vmware'; then
|
||||
@ -99,8 +89,6 @@ function _vm_build_impl() {
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed '/ami.*/d' | sed '/aws/d')
|
||||
formats+=" ami ami_vmdk"
|
||||
fi
|
||||
# Keep compatibility with SDK scripts where "equinix_metal" remains unknown.
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed 's/equinix_metal/packet/g')
|
||||
|
||||
source sdk_lib/sdk_container_common.sh
|
||||
|
||||
|
||||
@ -56,7 +56,6 @@ LISTING_KINDS=(
|
||||
['hetzner']='oem-hetzner_packages.txt'
|
||||
['kubevirt']='oem-kubevirt_packages.txt'
|
||||
['openstack']='oem-openstack_packages.txt'
|
||||
['packet']='oem-packet_packages.txt'
|
||||
['prod']='flatcar_production_image_packages.txt'
|
||||
['proxmoxve']='oem-proxmoxve_packages.txt'
|
||||
['qemu']='oem-qemu_packages.txt'
|
||||
|
||||
@ -14,9 +14,6 @@ ConditionKernelCommandLine=|coreos.oem.id=gce
|
||||
ConditionKernelCommandLine=|flatcar.oem.id=openstack
|
||||
ConditionKernelCommandLine=|coreos.oem.id=openstack
|
||||
|
||||
ConditionKernelCommandLine=|flatcar.oem.id=packet
|
||||
ConditionKernelCommandLine=|coreos.oem.id=packet
|
||||
|
||||
ConditionKernelCommandLine=|flatcar.oem.id=scaleway
|
||||
|
||||
ConditionKernelCommandLine=|flatcar.oem.id=hetzner
|
||||
|
||||
@ -34,7 +34,6 @@ COMMON_OEMIDS=(
|
||||
azure
|
||||
hetzner
|
||||
openstack
|
||||
packet
|
||||
proxmoxve
|
||||
qemu
|
||||
scaleway
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
set linux_append="flatcar.autologin"
|
||||
|
||||
if [ "$grub_cpu" = i386 ] || [ "$grub_cpu" = x86_64 ]; then
|
||||
set gfxpayload="1024x768x8,1024x768"
|
||||
set linux_console="console=tty0 console=ttyS1,115200n8"
|
||||
fi
|
||||
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright (c) 2020 Kinvolk GmbH. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Equinix Metal suite for Equinix Metal"
|
||||
HOMEPAGE="https://www.equinix.com/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
IUSE=""
|
||||
|
||||
SYSEXT_NAME="Equinix Metal"
|
||||
Loading…
x
Reference in New Issue
Block a user