matchbox - customize initrd

40 views
Skip to first unread message

Michael Champagne

unread,
Jun 15, 2017, 6:33:46 AM6/15/17
to CoreOS Dev
Hi,

I am using tectonic with matchbox for host provisioning. I have installed a 3 host k8s - tectonic cluster with graphical installer (bare metal) and everything is ok.
My hosts are not real bare metal but rather VMs, so I would like to add vm tools to my container linux hosts.

In PXE, I have used the initrd like this:
initrd ./images/coreos/latest/coreos_production_pxe_image.cpio.gz,./images/coreos/latest/vmtools.cpio.gz

I would like to follow same idea with matchbox but so far I was not succesfull
Here is the yaml file 
{
        "id": "coreos-install",
        "ignition_id": "coreos-install.yaml.tmpl",
        "boot": {
                "kernel": "/assets/coreos/1353.7.0/coreos_production_pxe.vmlinuz",
                "initrd": [
                        "/assets/coreos/1353.7.0/coreos_production_pxe_image.cpio.gz"
                ],
                "args": [
                        "coreos.config.url=http://matchbox.csnet.me:8080/ignition?uuid=${uuid}\u0026mac=${mac:hexhyp}",
                        "coreos.first_boot=yes",
                        "console=tty0",
                        "console=ttyS0"
                ]
        }
}


Shall I add the vmtool cpio file to the initrd array or somewhere in the args section? 

Thanks
Reply all
Reply to author
Forward
0 new messages