cloud-images nocloud local booting no longer working

Bug #955870 reported by Dave Walker
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

The following script probably explains what I am trying to do:

Essentially, this last worked with build serial - 20120309 .. now kvm isn't finding the iso.

Thanks.

#!/bin/bash
set -x
mkdir -p ~/cloud/instance
cd ~/cloud
wget http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64.tar.gz
tar -xvf precise-server-cloudimg-amd64.tar.gz
ln -s precise-server-cloudimg-amd64-disk1.img instance/disk.img
cd instance

{ echo instance-id: iid-local01; echo local-hostname: cloudimg; } > meta-data
printf "#cloud-config\npassword: passw0rd\nchpasswd: { expire: False }\nssh_pwauth: True\n" > user-data
genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data
qemu-img create -f qcow2 -b disk.img boot-disk.img
kvm -m 256 \
   -net nic -net user,hostfwd=tcp::2222-:22 \
   -drive file=boot-disk.img,if=virtio \
   -drive file=seed.iso,if=virtio -curses

Revision history for this message
Dave Walker (davewalker) wrote :

Tarball vs disk image.. user fail. Sorry.

Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.