Skip to content

Commit 44aad34

Browse files
committed
Enable dhcp by default
1 parent 691ba90 commit 44aad34

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM quay.io/luet/base:$LUET_VERSION AS luet
33

44
FROM opensuse/leap:15.3
55
ARG K3S_VERSION=v1.21.4+k3s1
6-
ARG C3OS_VERSION=-c3OS3
6+
ARG C3OS_VERSION=-c3OS4
77
ARG ARCH=amd64
88
ENV ARCH=${ARCH}
99
RUN zypper in -y \
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Setup default network"
2+
stages:
3+
initramfs:
4+
- name: "Setup network"
5+
files:
6+
- path: /etc/sysconfig/network/ifcfg-eth0
7+
content: |
8+
BOOTPROTO='dhcp'
9+
STARTMODE='onboot'
10+
permissions: 0600
11+
owner: 0
12+
group: 0
13+
- systemctl:
14+
enable:
15+
- wicked
16+

0 commit comments

Comments
 (0)