Regarding the cloud-init thing... I started testing with one image available in the openSUSE repo: openSUSE-Tumbleweed-Kubic.x86_64-15.0-MicroOS-cri-o-hardware-x86_64-Build4.5.qcow2 (yes, think this is the one). In fact, I had to convert it to raw format because of our metal deployer. Then I set the cloud-init files under /cloud-init-config (the meta-data and user-data files, with really simple stuff to start with). Deployed the OS, the rebooted it. I saw it creating a partition for the remaining space, allocating it to /var/lib/docker and...... nothing else. I didn't saw any evidence of a cloud-init run. I haven't figured out what's going wrong.... Christian -----Original Message----- From: Richard Brown <RBrownCCB@opensuse.org> Sent: Wednesday, March 6, 2019 11:27 AM To: opensuse-kubic@opensuse.org Subject: Re: [opensuse-kubic] MicroOS custom image build Hi Christian, On Wed, 6 Mar 2019 at 17:08, Tardif, Christian <christian.tardif@bell.ca> wrote:
Hi,
We're starting to look at MicroOS as the base OS for our Kubernetes stacks. And as we're now using RKE to deploy k8s, we're stuck with Docker right now.
So cool, thanks for letting us know!
Added to this, we have other things to customize in order to ease the OS deployment (mostly targeting, but not limited to bare metal deployment)
Two questions here: 1) Can I (I assume yes) leverage kiwi to build a raw image (as our metal deployer requires raw image)? If so, I haven't found how to do it in the available docs
I think Fabian has already answered this question
2) Providing that everything is automated and standardized, using cloud-init NoCloud datasource is not an option (as it's unlikely we'll be having a connected unpartitioned disk to hold the cloud-init configuration), and I haven't been able to make the LocalDisk datasource (again, I most probably just haven't the docs required to make it work).
Um, I'm afraid I'm having a hard time under standing the question here. What is the problems you've found with LocalDisk datasource? Does it work if you put the required files in a /cloud-init-config folder? Regards, Richard
Thanks!
Christian -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org