multipass
multipass copied to clipboard
Allow using process substitution for cloud-init file
Passing a process substitution to --cloud-init
didn't work since it was checking if it received a regular file, but a process substitution returns a named pipe. Unfortunately QT doesn't have a way to check if a path is a named pipe, but fortunately std::filesystem
does.
fix #1589
Codecov Report
Merging #2700 (12d2bfe) into main (becdbe0) will decrease coverage by
0.10%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #2700 +/- ##
==========================================
- Coverage 86.64% 86.54% -0.11%
==========================================
Files 218 218
Lines 10981 10904 -77
==========================================
- Hits 9515 9437 -78
- Misses 1466 1467 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/client/cli/cmd/launch.cpp | 85.02% <100.00%> (ø) |
|
src/simplestreams/simple_streams_manifest.cpp | 94.50% <0.00%> (-2.11%) |
:arrow_down: |
src/daemon/custom_image_host.cpp | 97.61% <0.00%> (-0.89%) |
:arrow_down: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
bors retry
bors retry
Again...
bors retry
Build succeeded:
- CI (Linux, linux, lxd)
- CI (Linux, linux, qemu)
- CI (macOS, macos-10.15, hyperkit, x86_64)
- CI (macOS, macos-10.15, qemu, x86_64)
- CI (macOS, macos-11, hyperkit, x86_64)
- CI (macOS, macos-11, qemu, x86_64)
- CI (macOS, qemu, arm64)
- CI (Windows, windows-10, hyperv)
- CI (Windows, windows-11, hyperv)
- Linux
- macOS-arm64
- macOS-x86_64
- Windows