Comment 4 for bug 1160360

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

it breaks even without that directive.

Another test case to run on a day with a package upgrade that will run kernel hooks

1. Create the user-data file with the following content:
====8<========8<========8<========8<========8<====
#cloud-config
locale: en_US.UTF-8

password: ubuntu
chpasswd: { expire: False }
ssh_pwauth: True

ssh_authorized_keys:
 - SOMEPUBKEY

apt_sources:
 - source: deb http://archive.ubuntu.com/ubuntu raring restricted multiverse
 - source: deb-src http://archive.ubuntu.com/ubuntu raring restricted multiverse

byobu_by_default: system

packages:
 - eatmydata
 - autopkgtest
 - dpkg-dev
 - pbuilder
 - bzr

runcmd:
 - [sh, -xc, "echo '127.0.1.1 autopkgtest' >> /etc/hosts" ]
====>8========>8========>8========>8========>8====

2. On an ARM host provision an LXC guest with the command (replace user-data by the path to the user-data file you created above)
  $ sudo lxc-create -n raring-armhf-20130326_094008 -t ubuntu-cloud -- -r raring -a armhf -s daily -u user-data -T https://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-armhf-root.tar.gz

3. Start the container and wait
  $ sudo lxc-start -n raring-armhf-20130326_09400