Repository navigation
v0.27.0
Highlights
Start a VM with one command
cubic run now works without any arguments. Cubic uses the newest Ubuntu LTS image and picks a readable name when you leave one out. The instance also takes over the timezone of the host.
New guest images
- Alpine Linux
- CentOS Stream
- openSUSE Leap 16.0
- openSUSE Tumbleweed
- Debian now uses the smaller minimal images
Faster and offline friendly image list
The image list now ships with Cubic, so it loads fast and works offline when the image is already cached. It hides end of life releases, shows a readable name for each image and lists other CPU architectures with --arch.
Better scp
- One progress bar covers all files of a transfer
- Dot paths such as
.work - Copying into an existing directory merges the files
More reliable stop
cubic stop gives the guest 60 seconds to shut down and then quits QEMU. Restart and delete use the same path, so they finish even when a guest hangs. stop --kill now quits QEMU gracefully.
Small touches
shandcpare short aliases forsshandscpinstancesandshowprint the guest OS of each instance- Progress bars and spinners use Unicode
- The README and the CLI help are shorter and easier to scan
Under the hood
- QEMU control channels use Unix domain sockets in place of mutual TLS
- VMs boot straight from the root disk
- HPET is off to save power on idle VMs
- Image providers are queried in parallel
- The binary is smaller without the regex dependency
What's Changed
- refactor: rename CPUs to vCPUs by @rogkne in #591
- fix: hide the port numbers in cubic show by @rogkne in #592
- fix: indent multiline log messages by @rogkne in #594
- fix: validate CPU, memory, and disk sizes on create/modify by @Morrowga in #593
- refactor: carry the console in the command context by @rogkne in #595
- build: lint all cargo targets with clippy by @rogkne in #596
- feat: generate a VM instance name when none is given by @rogkne in #597
- feat: show the guest OS of a VM instance by @rogkne in #598
- feat: ship the image list with Cubic by @rogkne in #599
- feat: show one progress bar for scp and close files after each transfer by @rogkne in #600
- feat: accept dot paths in scp by @rogkne in #601
- fix: merge into existing directories in scp by @rogkne in #602
- feat: add Alpine Linux guest image by @rogkne in #603
- feat: add CentOS Stream guest image by @rogkne in #604
- feat: add openSUSE Leap 16.0 guest image by @rogkne in #605
- feat: hide end of life images in the image list by @rogkne in #606
- feat: display images for other CPU architectures with --arch by @rogkne in #607
- refactor: remove image sizes from the image list by @rogkne in #608
- feat: show a readable name for each image by @rogkne in #609
- feat: use the minimal Debian images by @rogkne in #610
- feat: remove regex to reduce the binary size by @rogkne in #613
- build: use the Vulnlog Docker image and GitHub action by @rogkne in #614
- feat: connect to QEMU over Unix domain sockets by @rogkne in #615
- feat: boot the root disk directly by @rogkne in #616
- feat: parse vendor neutral CPU architecture names by @rogkne in #617
- feat: add short aliases for ssh and scp by @rogkne in #618
- feat: show the progress bar and spinner in Unicode by @rogkne in #619
- feat: hide the host arch in image names by @rogkne in #620
- feat: remove the PID from the instance output by @rogkne in #621
- feat: set the guest timezone by @rogkne in #622
- feat: quit QEMU gracefully on stop --kill by @rogkne in #623
- feat: force a waited stop to quit after 60 seconds by @rogkne in #624
- perf: query the image providers concurrently by @rogkne in #625
- refactor: read the terminal size through the platform layer by @rogkne in #626
- refactor: improve the SSH connection handling by @rogkne in #627
- fix: end a dropped SSH session with a line break by @rogkne in #628
- feat: add openSUSE Tumbleweed as a VM image by @rogkne in #629
- docs: make the README and the CLI help short and easy to scan by @rogkne in #630
- perf: disable HPET to save power on idle VMs by @rogkne in #632
- feat: use Ubuntu LTS as the default image by @rogkne in #633
- docs: streamline the pull request template by @rogkne in #635
- ci: publish tagged releases to the Snap latest/stable by @rogkne in #636
- build: update dependencies and pin 0.x versions by @rogkne in #637
- chore: release v0.27.0 by @rogkne in #638
New Contributors
Full Changelog: v0.26.0...v0.27.0