mirror of
https://github.com/Luzifer/hetzner-alpine-k8s.git
synced 2024-12-30 06:41:20 +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: ''
|
syslinux: ''
|
||||||
linux-virt: ''
|
linux-virt: ''
|
||||||
sudo: '@community'
|
sudo: '@community'
|
||||||
|
vim: ''
|
||||||
|
|
||||||
cloud-init: '@community'
|
cloud-init: '@community'
|
||||||
py3-pyserial: '@community'
|
py3-pyserial: '@community'
|
||||||
py3-netifaces: '@community'
|
py3-netifaces: '@community'
|
||||||
|
|
||||||
# K8s requirements
|
# K8s requirements
|
||||||
|
# OpenEBS
|
||||||
open-iscsi: ''
|
open-iscsi: ''
|
||||||
open-iscsi-openrc: ''
|
open-iscsi-openrc: ''
|
||||||
|
udev: ''
|
||||||
|
|
||||||
cni-plugin-flannel: '@community'
|
cni-plugin-flannel: '@community'
|
||||||
cni-plugins: '@community'
|
cni-plugins: '@community'
|
||||||
|
@ -43,8 +46,8 @@ packages:
|
||||||
services:
|
services:
|
||||||
devfs: sysinit
|
devfs: sysinit
|
||||||
dmesg: sysinit
|
dmesg: sysinit
|
||||||
mdev: sysinit
|
|
||||||
hwdrivers: sysinit
|
hwdrivers: sysinit
|
||||||
|
udev: sysinit
|
||||||
|
|
||||||
hwclock: boot
|
hwclock: boot
|
||||||
modules: 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 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'
|
- '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