Commit Graph

3 Commits (ef6b3ba8e80367d3a102c2ee6edb0f50ca06809f)

Author SHA1 Message Date
Dustin ef6b3ba8e8 VirtualMachine: Refresh LVM cache before creating PV
When *lvmetad* is in use, it will cache volume group metadata from
previous runs of `mkvm` that used the same block device and prevent new
physical volumes from being created on it. Running `pvscan` alone does
not refresh the cache unless it is told to do so with the `--cache`
argument.
2015-07-11 17:55:44 -05:00
Dustin e28238dc33 stage3: Fetcher.fetch_stage: Pass stderr fd to wget
The main entry point of the `mkvm` program closes FD 3 (native stderr)
to prevent extraneous messages from libvirt. Unfortunately, this breaks
wget's progress indicator, as it is printed to stderr as well. To ensure
that the progress indicator works, we have to pass the FD of the copy of
stderr to wget.
2015-07-11 17:40:54 -05:00
Dustin 6dbc137b3a Initial commit 2015-07-11 17:10:39 -05:00