Stuck on creating iso file (not seeing changes from cloud-config #2254
Unanswered
andre-passos-asml
asked this question in
Q&A
Replies: 1 comment 13 replies
-
For me I see the customized iso(the one with the embedded cloud.config) in build/build/kairos.iso.custom.iso |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am trying to build an iso from an ubuntu with kairos.
I use the following docker file: https://github.com/vadimzharov/k8s-kairos-deploy/blob/main/Dockerfile.00
Then I run the following commands:
docker build -t registry/kairos/kairos:v0.0.1 .
My config.yaml is like this: https://github.com/vadimzharov/k8s-kairos-deploy/blob/main/kairos_config_master.yaml
The last step should generate a file in /etc/kubernetes/kubeadm-config.yaml
My iso file is generated. Then I copied to sudo cp build/iso/kairos.iso /var/lib/libvirt/images/
When I boot the machine using this command:
sudo virt-install --name k8s-master --memory 4096 --vcpus 2 --disk size=25 --cdrom /var/lib/libvirt/images/kairos.iso --os-variant ubuntu20.04 --nographics
I see that the file: /etc/kubernetes/kubeadm-config.yaml is not written like I specified on the cloud-config.
Any idea of what I might be doing wrong?
Also according to your documentation a .custom.iso should be generated. However I don't see it. Can that be the reason?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions