Comment 11 for bug 1797218

Revision history for this message
Scott Moser (smoser) wrote : Re: boot hangs in curtin vmtest

Heres an even easier re-create

$ url=http://cloud-images.ubuntu.com/cosmic/current/cosmic-server-cloudimg-amd64.img
$ img=${url##*/}
$ wget "${url}" -O "$img"

$ sudo mount-image-callback "$img" -- \
   mchroot sh -xc 'echo overlayroot=tmpfs > $1 && echo root:$2 | chpasswd' \
   setup-image /etc/overlayroot.local.conf passw0rd

## launch qemu with whatever parms you want.
## I might suggest using (or learning) '-nographic' or '-snapshot'
## Simplist thing is:
$ qemu-system-x86_64 -enable-kvm -hda cosmic-server-cloudimg-amd64.img -m 2048