From fe946bce8b0d61f10e0c2bb726f809b8c8f47d44 Mon Sep 17 00:00:00 2001 From: David Cassany Date: Mon, 25 Mar 2024 15:21:29 +0100 Subject: [PATCH] Remove default network configuration Signed-off-by: David Cassany --- examples/green/05_network.yaml | 12 ------------ examples/green/Dockerfile | 3 --- 2 files changed, 15 deletions(-) delete mode 100644 examples/green/05_network.yaml diff --git a/examples/green/05_network.yaml b/examples/green/05_network.yaml deleted file mode 100644 index 5a06a75720d..00000000000 --- a/examples/green/05_network.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: "Default network configuration" -stages: - initramfs: - - name: "Setup network" - files: - - path: /etc/sysconfig/network/ifcfg-eth0 - content: | - BOOTPROTO='dhcp' - STARTMODE='onboot' - permissions: 0600 - owner: 0 - group: 0 diff --git a/examples/green/Dockerfile b/examples/green/Dockerfile index 0c88e06db54..1a842fbf04e 100644 --- a/examples/green/Dockerfile +++ b/examples/green/Dockerfile @@ -77,9 +77,6 @@ RUN systemctl enable NetworkManager.service && \ # This is for automatic testing purposes, do not do this in production. RUN echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/rootlogin.conf -# Add default network configuration -ADD 05_network.yaml /system/oem/05_network.yaml - # SELinux in enforce mode RUN sed -i "s|SELINUX=.*|SELINUX=enforcing|g" /etc/selinux/config