Skip to content

v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:38
· 1 commit to main since this release

Added

  • named networks: start --network NAME[:KEY] adds a second card on a private
    network that VMs share with each other and the Mac, keeping the NAT card; KEY
    names the VM's role, and network NAME --reserve KEY=IP fixes its address;
    addr VM [NETWORK] prints a VM's address for scripts; Linux guests get DHCP on
    the new card by the linux/network-dhcp tweak
  • start --retina and run --retina: a 2560x1600 guest display drawn at 2x, sharp
    in a run window on a Retina screen at the usual size; macOS and GNOME guests
    (by the new linux/gnome-scale-2x tweak); not Windows
  • held input: key and click take --hold MS, and --down and --up to hold
    a key or mouse button across other calls, for anything that responds to
    holding one down; the guest repeats a held key as for a physical keyboard

Changed

  • the guest helpers run each connection as a std.Io task and do their file I/O
    and waits through it; a put or get that fails says why in words on Windows
    too, where it gave an error number; layers keep the helper they were saved
    with until it is replaced

Fixed

  • a VM joining a network as network --remove looked at it was told another VM
    had its role; it is now told the network is being removed
  • ps and other commands no longer remove a VM whose info.json they cannot
    read (one written by another version of terrarium); unknown recipe names, guest
    kinds, VM states, and display or commit requests are refused, not taken for a
    default
  • wait --reboot could miss a restart and wait out its timeout; addr could
    overrun --timeout; a network named nat hid the NAT address; resize took
    1280xx800; an option given twice quietly took its last value
  • over MCP, an argument given as null was refused, an empty clipboard came back
    as "(nothing)", and logs was not limited in size
  • the run window did not shrink to fit a small screen, and Share Clipboard could
    clear the Mac's pasteboard when the guest's clipboard was empty
  • a shot could return a partly black screen; a network change made as a
    network started could be lost; a damaged or newer layer was said to need
    reinstalling; a tar archive's one file was not found when its name held [
  • a VM started with --continue that was committed while it ran could not save
    again: its save when it stopped failed, and its work went to unsaved/
  • stop could hang when a commit's pause failed, answered ok when the scheduled
    save failed, gave no answer to a second stop, and gave up after 10 s on a VM
    still saving
  • work that could not be moved to unsaved/ was deleted; it now stays in
    vms/<id>/
  • a macOS install was saved without asking the guest to write its disk first
  • ps could remove a VM that was still starting, and the cleanup of abandoned
    files could remove a layer or image with .partial. and a number in its name
  • two VMs could both reserve one layer name if one released it as the other took
    it; cancelling a save in the window kept its name reserved
  • a VNC connection that failed while connecting closed its descriptor twice, which
    could close another connection's; an MCP cancel or exec --timeout arriving as a
    command ended could cut another call's connection the same way
  • a pull that failed held its scratch file's space until the MCP server exited
  • a record whose start timed out kept recording with nothing to stop it
  • shot encodes only the frame it returns, not each sample it compares, so it
    is quicker, most of all on a large display
  • a VM that failed before it ran (a bad layer, say) could leave start saying only
    "the VM's process exited"; it now says why
  • exec on a Linux or macOS guest now kills a command that closed its output when
    the caller goes away or --timeout runs out; before, it was left running
  • two puts to one guest path at once could mix their files; now the file that
    lands is one of them, whole
  • the guest helper no longer spins when it cannot accept connections, and on
    Windows it can no longer end the wrong process as a command finishes; exec
    answers with an error, not silence, when waiting on the guest fails, and a
    helper that stalls partway through a frame no longer holds exec past
    --timeout; the host also refuses clipboard text over 1 MiB from the guest
  • tweaks and the Windows install no longer hide a failed step: the Windows
    install stops when its drivers or its registry change fail, the Windows tweaks
    keep a key's other values and check each powercfg, the macOS and Linux tweaks
    fail when a command does, and linux/ubuntu-no-welcome fails when the window
    never opens; linux/network-dhcp waits 60 s in all, not per card, and
    linux/gnome-scale-2x no longer scales the login screen instead of the session;
    macos/no-screensaver and macos/quiet-setup no longer time out just after boot