~powersj/curtin/lxctest

Viewing all changes in revision 398.

  • Committer: Scott Moser
  • Date: 2016-06-26 01:03:55 UTC
  • mfrom: (395.2.3 trunk.launch-by-label)
  • Revision ID: smoser@ubuntu.com-20160626010355-zlc550aime5iugsd
tools/launch: boot by root=LABEL=cloudimg-rootfs

We were previously booting with either root=/dev/vda or root=/dev/vda1
based on if the root disk was partitioned or not.

That logic was sort of broken in that it didn't correctly
query the backing device of a qcow2 disk.

What prompted this change though is that using root= seems not reliable.
On power8 kvm guests on 16.04 in current trunk, root=/dev/vda would not
find a filesystem, where the same boot on 15.10 did.

So for now, boot by LABEL=cloudimg-rootfs which is true for all of our
vmtests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: