rancher / os2

EXPERIMENTAL: A Rancher and Kubernetes optimized immutable Linux distribution based on openSUSE

Home Page:https://rancher.github.io/os2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken cloud-init after install

mudler opened this issue · comments

I'm trying to install os2 to bring a standalone K8s cluster to register other nodes to it, by using the following cloud-config file:

#cloud-config
rancherd:
  role: cluster-init
  rancherValues:
    features:
    - multi-cluster-management=true
ssh_authorized_keys:
  - github:mudler
runcmd:
  - curl -fL https://raw.githubusercontent.com/rancher/rancherd/master/install.sh | sh -

And by running after booting the ISO

$> ros-installer -config-file cloud-init.yaml

However, after installation, the generated cloud-init config in /oem/99_custom.yaml is the following:
VirtualBox_test_13_01_2022_11_15_46

which breaks the cloud-init parsing reference, hence can't login after boot, see https://rancher.github.io/os2/configuration/

Please see https://rancher.github.io/elemental/ for a successor of 'os2'.