Skip to content

CachyOS VMΒ #2241

Closed
Closed

Description

@MickLesk

Name of the Script

CachyOS-VM

Script Type

VM (Virtual Machine)

Does this script support arm64?

arm64 not supported

πŸ“‹ Script Details

vm/cachyos-vm.sh β€” creates a CachyOS VM. CachyOS is a performance-focused Arch derivative with custom kernels, BORE and sched-ext schedulers, and packages built for x86-64-v3/v4. Installation is completed in the graphical Calamares installer.

Rebuilt on the new core (pve/vm-core.func): 589 β†’ 196 lines. Everything the engine already provides β€” the settings wizard, the storage picker, the header, the colour and icon block β€” was removed rather than duplicated. Two helpers were added to vm-core in the process (vm_echo_default_settings, vm_start_script, core#12/#13), so the other VM scripts benefit too.

This one has actually been run, and three faults came out of it. All are fixed:

  1. unable to parse lvm volume name 40G β€” qm create -scsi0 <storage>:<size> wants a bare integer in GiB, not 40G. Now ${STORAGE}:${DISK_SIZE%G}.
  2. A truncated ISO was accepted. A bad SourceForge mirror serves an HTML notice with status 200, so curl exits 0 and the VM boots to nothing. There is now a size floor (MIN_ISO_BYTES, 500 MB) that decides whether the file is really an ISO, applied to the cached copy as well as to fresh downloads.
  3. A stray 101 and _cs_clear: command not found β€” both were engine faults, not script faults, fixed in core#13. load_functions was running six functions that no longer belonged to it, so loading the engine printed a bare VM ID and tore down the temp dir before there was one.

A fourth, cosmetic one is fixed too: Wide character in print at /usr/share/perl5/PVE/API2/Qemu.pm line 2259 on every VM creation, because set_description put raw emoji into the VM description. The LXC path had percent-encoded these since it was written; the VM path never caught up.

Defaults: 4 cores, 8 GB RAM, 40 GB disk, q35, host CPU.

What still needs testing

  • Storage types other than LVM-thin β€” the disk-size fix was found on local-lvm only
  • The version discovery against SourceForge when a new CachyOS release lands
  • Whether the installer completes and the VM boots from disk after the ISO is detached

Activity

  1. github-actions commented on Aug 31, 2026

    @github-actions
    Contributor

    The CachyOS VM script is ready for testing:

    bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/vm/cachyos-vm.sh)"
    

    Note: This is not in the official repo yetβ€”it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.

    Discord testing thread: https://discord.com/channels/1302816934508630047/1543889898136801350

  2. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Not all required files were found for cachyos (type: vm). Please check the files and try again. Missing: vm/cachyos.sh

  3. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    A PR has been created for cachyos-vm: community-scripts/ProxmoxVE#18368

  4. MickLesk commented on Nov 1, 2026

    @MickLesk
    MemberAuthor

    Merged with #18368 in ProxmoxVE

  5. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Files deleted with PR #2494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions