linuxfreaklinuxfreak
Participant
    Post count: 6

    Hi Herman

    The short answer is : use sata as bus type

    I import the image through this small script file I created (didn’t try on 4.8 yet but guess it should work the same) :

    #!/bin/bash
    #Check guest communication with virsh qemu-agent-command $NAME ‘{“execute”:”guest-info”}’
    if [ $# -ne 3 ] ; then
    echo “Usage: $0 <NAME> <CPUs> <RAM_GB> (minimum 2 CPU and 1GB)”
    exit 1
    fi

    NAME=$1
    VCPUS=$2
    RAM_MB=$(($3*1024))

    virt-install \
    –name $NAME \
    –memory $RAM_MB \
    –vcpus $VCPUS \
    –cpu host \
    –hvm \
    –disk /var/lib/libvirt/images/$NAME.vmdk,bus=sata \
    –network default,model=e1000,mac=00:0a:b3:02:29:55 \
    –graphics spice,listen=0.0.0.0 \
    –noautoconsole \
    –os-type=linux \
    –os-variant=generic \
    –boot hd \
    –noreboot \
    –import \

    • This reply was modified 11 months, 3 weeks ago by linuxfreaklinuxfreak.