Comment 10 for bug 1286500

Revision history for this message
Peter Matulis (petermatulis) wrote :

This is the command I used in comment #8. My gripe is how to continue using preseed since --extra-args is incompatible with --cdrom (i.e. when using the 'ISO workaround').

virt-install -d \
        --virt-type kvm \
        --hvm \
        --accelerate \
        --connect qemu:///system \
        --os-type linux \
        --noautoconsole \
        --graphics vnc \
        --network bridge=br0 \
        --vcpus $CPU \
        --os-variant $VARIANT \
        --name $NAME \
        --ram $RAM_SIZE_MB \
        --disk $DISK_DIR/$NAME.img,size=$DISK_SIZE_GB,bus=virtio,cache=writeback \
        --location http://ca.archive.ubuntu.com/ubuntu/dists/"$RELEASE"/main/installer-amd64/ \
        --extra-args="locale=en_US interface=eth0 DEBCONF_DEBUG=developer auto=true priority=critical $PRESEED"