lp:~wesley-wiedenmeier/curtin/uefi-test

Created by Wesley Wiedenmeier and last modified
Get this branch:
bzr branch lp:~wesley-wiedenmeier/curtin/uefi-test
Only Wesley Wiedenmeier can upload to this branch. If you are Wesley Wiedenmeier please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Wesley Wiedenmeier
Project:
curtin
Status:
Development

Recent revisions

346. By Wesley Wiedenmeier

Updated config, now installs with efi properly, still does not boot with ovmf
though

345. By Wesley Wiedenmeier

Added uefi test file and config, not currently working due to issue with ovmf
boot device selection

344. By Scott Moser

mkfs: fix for lack of uuid on precise or trusty

the last merge for mkfs broke vmtest. Precise's version of btrfs
lacks both uuid and force flag. Trusty's lacks uuid.

343. By Wesley Wiedenmeier

Improve mkfs command and move mkfs logic to block.mkfs

The 'mkfs' command now operates as a useful utility for users
who want a consistent interface to 'mkfs'.

The mkfs logic is improved and moved to the block.mkfs module
to make it more standalone.

342. By Ryan Harper

vmtests: basic_network.yaml remove static gateway to avoid race with dhcp

The basic network configuration includes a static gateway
which will race with DHCP; last one to write wins and sometimes
means the network validation won't find the static gateway and fail.
Remove the static gateway in the presence of a network configured
for DHCP.

341. By Scott Moser

vmtest sync: fix pruning of dirs

our pruning code is somewhat simplistic at this point.
We really need to have a better mirror, but for now this fixes an issue.

At some point on our c-i nodes, a mirror included 'di' data, which
creates files in '<mirror>/<release>/<arch>/di'. That directory was
getting counted as a 'image dir'.

This will count image dirs as those that are of format YYYYMMDD[.N]

340. By Scott Moser

tests/vmtests: fix invalid variable and run pylint on tests/vmtests

This fixes a bad variable in tests/vmtests anad also starts to run
pylint with python3 on tests/vmtests. pylint *would* have caught
my bad variable.

Also fix the other complaints from pylint on that code so that
it will successfully run.

339. By Scott Moser

maas2roottar: use --numeric-owner when creating root.tar.gz

We've just been lucky to have not hit issues with this.
Since the image may have different user and group numbers than the host
system, we need to use --numeric-owner with tar.

338. By Scott Moser

Further cleanups on syncing images

This clears up some of the unexpected behavior of syncing images. Much of
the confusion was because sstream-mirror keeps internal information in
.data/ that sstream-query does not read. The result is that:
  sstream-mirror <remote> <local> <filters>
and then a
  sstream-query <local> <other_filters>

would show results as if <other_filters> had been mirrored even though
the files were not present.

We clean that up. Now, get_images will ensure that the data you were
after is present.

Also, we no longer attempt mirror on every setUpClass. That could result
in one Precise test running with one image and the next Precise test
running with another image. This will only run a mirror once for a given
set of filters during a nosetests run.

337. By Ryan Harper

sync-images: auto-convert and prune images

make sync-images will now ensure we invoke convert_image() as needed on
each one and we now have a default of 1 image to keep around. This number
is controlled by an environment variable, IMAGES_TO_KEEP.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.