Hi Geoff,
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?
Thanks Geoff~
On Wednesday, 27 July 2016 04:59:37 UTC+8, Geoff Levand wrote:
>
> Hi,
>
> On Fri, 2016-07-22 at 10:32 +0800, Kevin Zhao wrote:
> > Now status is that I have used libvirt-to-launch-coreos in
> > X86_64. But for Arm64, I can use libvirt to launch it , but can't login
> the OS(The sshd works, but the public key doesn't, I need to type into the
> passwd). I have a little questions:
> > 1.For the link:
> https://stable.release.core-os.net/arm64-usr/current/, which image do I
> need for libvirt to launch? I use coreos_production_image.bin.bz2.
>
> I recomend you use the alpha channel for now. There
> a fair number of fixes for arm64 going in.
>
> > 2. There is a script deploy_coreos_libvirt.sh, I have modified the
> virt-install command so that I can boot the image.
>
> I don't think anyone has used libvirt booting yet, so
> please submit any fixups you find you need.
>
>
> > 3. Apart from libvirt, what another methods that we can use to
> > launch the CoreOS Arm64, such as PXE,OpenStack...?
>
> Nick said he can pxe boot successfully.
>
> -Geoff
>
>