Comment 1 for bug 1728181

Revision history for this message
Scott Moser (smoser) wrote :

Essentially we are looking for this work flow to function, with or without
network devices attached to the system.

$ wget http://cloud-images.ubuntu.com/some-disk.img
$ qemu-img create -f qcow2 -b some-disk.img my-disk.img
$ sudo ~/bin/backdoor-image my-disk.img --user=user1 --password=passw0rd1
$ qemu-system-x86_64 -enable-kvm \
  -device virtio-scsi-pci,id=virtio-scsi-xkvm \
  -drive file=my.img,id=disk00,if=none,format=qcow2,index=0 \
  -device virtio-blk,drive=disk00,serial=my.img \
  -m 768 -nodefaults -nographic -serial mon:stdio -echr 0x05
....

then just login at prompt with 'user1' and 'password1'

That does generally work right now, it just has a 120 second-ish timeout
on waiting for network devices that configured (and possibly even are
not present) to come up.

  http://paste.ubuntu.com/25833773/