Hi All,
     Greeting from Linaro~
     I am working on container technology in Linaro. CoreOS is very famous
container technology and we pay close attention to it. I have some
experience of CoreOS 5 months ago. Now I want to use libvirt to launch the
CoreOS Arm64 image.
     Now status is that I have used libvirt-to-launch-coreos
<https://coreos.com/os/docs/latest/booting-with-libvirt.html> 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
<https://stable.release.core-os.net/arm64-usr/current/coreos_production_image.bin.bz2>
.
     2. There is a script deploy_coreos_libvirt.sh
<https://raw.githubusercontent.com/coreos/docs/master/os/deploy_coreos_libvirt.sh>,
I have modified the virt-install command so that I can boot the image. The
command is:
             virt-install --connect qemu:///system \
                     --import \
                     --name $COREOS_HOSTNAME \
                     --ram $RAM \
                     --vcpus $CPUs \
                     --boot uefi \
                     --os-type=linux \
                     --os-variant=virtio26 \
                     --disk
path=$LIBVIRT_PATH/$COREOS_HOSTNAME.qcow2,format=qcow2,bus=virtio \
                     --filesystem
$LIBVIRT_PATH/$COREOS_HOSTNAME/,config-2,type=mount,mode=squash \
                     --network
model=virtio,source=br1,type=direct,source_mode=bridge \
                     --noautoconsole

    Since the config file is remapped to the guest CoreOS through
"--filesystem", I guess there is something wrong it, it doesn't take effect
... So the public key doesn't take effect.
    3. Apart from libvirt, what another methods that we can use to launch
the CoreOS Arm64, such as PXE,OpenStack...?

    Kindly need your help:-) You response will be really appreciated. Big
Thanks~

Reply via email to