From d6afeee8d13e12efb202ebe074494b61666a3111 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 18 Dec 2022 00:56:26 +0100 Subject: [PATCH] OpenEBS needs udev, lets give em udev also for Hetzner CCM we need `--cloud-provider=external` Signed-off-by: Knut Ahlers --- config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 5675804..1a93014 100644 --- a/config.yaml +++ b/config.yaml @@ -19,14 +19,17 @@ packages: syslinux: '' linux-virt: '' sudo: '@community' + vim: '' cloud-init: '@community' py3-pyserial: '@community' py3-netifaces: '@community' # K8s requirements + # OpenEBS open-iscsi: '' open-iscsi-openrc: '' + udev: '' cni-plugin-flannel: '@community' cni-plugins: '@community' @@ -43,8 +46,8 @@ packages: services: devfs: sysinit dmesg: sysinit - mdev: sysinit hwdrivers: sysinit + udev: sysinit hwclock: boot modules: boot @@ -106,4 +109,7 @@ chroot_commands: - 'echo -e "auto eth0\niface eth0 inet dhcp\niface eth0 inet6 auto\n" >>/etc/network/interfaces' - 'echo -e "auto eth1\niface eth1 inet dhcp\niface eth1 inet6 auto\n" >>/etc/network/interfaces' + # Force --cloud-provider=external + - "sed -i 's/command_args=\"/command_args=\"--cloud-provider=external /' /etc/init.d/kubelet" + ...