On Tue, 2016-08-02 at 19:55 -0700, [email protected] wrote: > For using Libvirt to install CoreOS, we should use virt-install > --filesystem to mapped the user_data to guest VM. > I find that for using --filesystem, the guest kernel should have > the 9p module. But in CoreOS , I run "lsmod|grep 9p", I don't find > the essential module. I wonder if we compile the CoreOS kernel, the > config file has the setting: > CONFIG_NET_9P=y > # needed for virtfs mount > CONFIG_NET_9P_VIRTIO=y > If not, that means I should recompile the kernel?
I tested virtfs with the current coreos_production_qemu_uefi.sh, which sets up cloud-config using a virtfs drive. It works as expected. For virtfs to work you need the latest CoreOS kernel [1] (that has CONFIG_VIRTIO_PCI=m), or use qemu's virtio-9p-device driver. Check the kernel with: cat /proc/config.gz | gunzip | egrep '(9P|VIRTIO)' [1] https://github.com/coreos/coreos-overlay/pull/2112 -Geoff
