mirror of
https://github.com/Luzifer/hetzner-alpine-k8s.git
synced 2024-12-20 18:01:19 +00:00
OpenEBS needs udev, lets give em udev
also for Hetzner CCM we need `--cloud-provider=external` Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d4f01e67b0
commit
d6afeee8d1
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue