diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/README b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/README deleted file mode 100644 index d128309fef..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/README +++ /dev/null @@ -1,4 +0,0 @@ -These Ignition configs are part of the OEM configuration. Do not modify -them. If you want to write an Ignition config directly to disk, put it in -../config.ign and it will be applied at first boot instead of a config -in userdata. diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/base.ign b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/base.ign deleted file mode 100644 index 5c359a9410..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/base.ign +++ /dev/null @@ -1,37 +0,0 @@ -{ - "ignition": { - "version": "2.1.0" - }, - "storage": { - "files": [ - { - "filesystem": "root", - "path": "/etc/systemd/system/waagent.service", - "contents": { - "source": "oem:///units/waagent.service" - }, - "mode": 292 - }, - { - "filesystem": "root", - "path": "/etc/systemd/system/nvidia.service", - "contents": { - "source": "oem:///units/nvidia.service" - }, - "mode": 292 - } - ] - }, - "systemd": { - "units": [ - { - "name": "waagent.service", - "enabled": true - }, - { - "name": "nvidia.service", - "enabled": true - } - ] - } -} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/default.ign b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/default.ign deleted file mode 100644 index 29b7c91e59..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/base/default.ign +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ignition": { - "version": "2.1.0" - }, - "systemd": { - "units": [ - { - "name": "oem-cloudinit.service", - "enabled": true, - "contents": "[Unit]\nDescription=Cloudinit from Azure metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=azure\n\n[Install]\nWantedBy=multi-user.target\n" - } - ] - } -} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/grub.cfg b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/grub.cfg deleted file mode 100644 index 15e7e50555..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/grub.cfg +++ /dev/null @@ -1,16 +0,0 @@ -# Flatcar GRUB settings - -set oem_id="azure" - -set linux_append="flatcar.autologin" - -# Azure only has a serial console. -serial --unit=0 --speed=115200 --word=8 --parity=no -terminal_input serial -terminal_output serial - -if [ "$grub_cpu" = arm64 ]; then - set linux_console="console=tty1 console=ttyAMA0,115200n8 earlycon=pl011,0xeffec000" -else - set linux_console="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200" -fi diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/oem-release b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/oem-release deleted file mode 100644 index 0c5d4d7d9f..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/oem-release +++ /dev/null @@ -1,5 +0,0 @@ -ID=azure -VERSION_ID=@@OEM_VERSION_ID@@ -NAME="Microsoft Azure (Pro)" -HOME_URL="https://azure.microsoft.com/" -BUG_REPORT_URL="https://issues.flatcar-linux.org" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/units/waagent.service b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/units/waagent.service deleted file mode 100644 index cf34281af7..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/files/units/waagent.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Microsoft Azure Agent -Wants=network-online.target sshd-keygen.service -After=network-online.target sshd-keygen.service - -[Service] -Type=simple -Restart=always -RestartSec=5s -Environment=PATH=/usr/share/oem/python/bin:/usr/share/oem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin -Environment=PYTHONUNBUFFERED=x -ExecStart=/usr/share/oem/bin/waagent -daemon - -[Install] -WantedBy=multi-user.target diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/metadata.xml b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/metadata.xml deleted file mode 100644 index 097975e3ad..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/oem-azure-pro-2.6.0.2.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/oem-azure-pro-2.6.0.2.ebuild deleted file mode 100644 index 896712e38c..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure-pro/oem-azure-pro-2.6.0.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) 2013 CoreOS, Inc.. All rights reserved. -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="OEM suite for Azure" -HOMEPAGE="" -SRC_URI="" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64" -IUSE="" - -# no source directory -S="${WORKDIR}" - -# This source is a superset of oem-azure and implments the pro bits. The source -# of oem-azure-pro is duplicated from oem-azure because making using of RDEPEND -# would result in the conflict of `base.ign` -RDEPEND=" - ~app-emulation/wa-linux-agent-${PV} - amd64? ( x11-drivers/nvidia-drivers ) -" - -src_prepare() { - default - sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \ - "${FILESDIR}/oem-release" > "${T}/oem-release" || die -} - -src_install() { - insinto "/usr/share/oem" - doins "${FILESDIR}/grub.cfg" - doins "${T}/oem-release" - doins -r "${FILESDIR}/base" - doins -r "${FILESDIR}/units" - dosym "/usr/bin/true" "/usr/share/oem/bin/eject" -}