Megan Marsh
1d218d9e65
add QemuImgArgs option to set specialized flags in qemu-img
...
convert, resize, and create commands. Add tests. Refactor steps to
not require config pulled from statebag.
2020-09-17 15:15:04 -07:00
Megan Marsh
1052733fca
Skip qemu-img convert if format of output file matches format of input file.
...
This works around an osx bug in qemu-img convert in osx.
2020-09-17 11:21:04 -07:00
Megan Marsh
83ee4e7d13
miscellaneous qemu cleanup. Fix generator strings; generate code
...
fix diskimage logic
linting
fix tests
2020-09-17 09:57:45 -07:00
Megan Marsh
0a02bd5b2a
skip compaction when backing file is used, to prevent conversion that would make backing file pointless
2020-09-09 15:26:10 -07:00
Richard Turc
b4ff0ea4bc
[builder/qemu] Skip resize step when skip_resize_disk is enable #9860 ( #9896 )
...
* [builder/qemu] Skip resize step when skip_resize_disk is enable #9860
* Update builder/qemu/builder_test.go
Improve the code quality
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
* Update files for unit tests
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-09-08 14:32:08 -04:00
sylviamoss
fc2e94554a
add qemu hcl examples
2020-07-31 17:32:08 +02:00
Jonathan Neal
d8b67f8520
📌 Hard Pin Website Dependencies ( #9543 )
...
* Update and pin dependencies
* Update NextJS Scripts
* npm run lint
* npm run format
* docs generator: indent docs by two and make spacing better
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-13 12:33:16 +02:00
Lyle Franklin
a4d1afb83a
Add 'cdrom_interface' option to QEMU builder ( #9483 )
...
- This option allows the user to select the interface type for the CDROM
drive, e.g. `virtio-scsi`, rather than the default `virtio`
- Background: Installation of Ubuntu 20.04 on ARM64 fails as it can't mount the
installation CDROM. While the default `virtio` CDROM fails, setting
`cdrom_interface: virtio-scsi` with this PR succeeds. Some links:
- ISO link: http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-arm64.iso
- https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1605407
- https://superuser.com/a/1376628/230508
2020-07-07 16:22:30 +02:00
Sylvia Moss
ce45a1990a
Refactor communicator config for Qemu and add SkipNatMapping option ( #9307 )
2020-06-02 11:56:36 +02:00
Rui Lopes
06fad6cc4f
qemu: add support for using a network bridge
2020-05-20 16:46:32 -07:00
Jeff Escalante
81b08898ba
update generated pages after rebase
2020-04-07 17:53:26 -04:00
Jeff Escalante
23a5c472aa
remove sidebar_current from front matter
2020-04-07 17:53:25 -04:00
Jeff Escalante
6798b73305
revert prettier formatting on generated partials
2020-04-07 17:53:22 -04:00
Jeff Escalante
2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase
2020-04-07 17:53:22 -04:00
Jeff Escalante
bcc848a83d
were rendering yay
2020-04-07 17:50:47 -04:00
Jeff Escalante
92d4553890
initial port
2020-04-07 17:50:46 -04:00