cli

  1. S

    [SOLVED] Explicitly Defining --no-rename when installing

    Been trying to install Proxmox again after having some issues with booting from an old install. Going to install fresh 8.1-2 and get all the way through set up, however installation fails at the "Making device bootable" section. Pulled the drive and replaced it, got the same error. Wiped both...
  2. S

    No display of CLI proxmox pve

    So i've successfully configured PCI passthrough of my Nvidia GPU to my VM. now i still want to use the Proxmox Host CLI locally via vga output on the server. of course i cant use the nvidia GPU for this since its been passthrough to the VM. i also cant use the motherboard video output since i...
  3. V

    Tool to talk to all Hosts on the whole cluster

    I want to be able to deploy VMs, which automatically start on multiple hosts in my proxmox cluster. And I want to be able to change a VLAN on all VMs which have this specific VLAN configured with one script / one command. Does someone have a tool for cluster-wide deployments / cluster-wide...
  4. N

    Verifikationsstatus per CLI abrufen

    Guten Tag, ich würde gerne per CLI den "Verified" Status aller Backups abfragen. Im zweiten Schritte, möchte ich mir dann alle Backups anzeigen lassen, die den Status "Verified" = None habe. Das bekomme ich dann aber mit "grep" selbst hin. Leider konnte ich hierzu im Forum nichts finden und...
  5. N

    Cannot Access Proxmox Web GUI - Subnet Misalignment?

    Brand new here: I installed and am attempting to complete my proxmox server setup via ethernet but I cannot Access the Proxmox Web GUI. I know it's a networking issue and I think maybe it has to do with subnet misalignment but I'm not positive and even if so, I don't know how to correctly...
  6. J

    [SOLVED] What is the best way to delete all hard disks from a VM via command line?

    What is the best way to delete all hard disks from a VM via command line? So far the only option I've been able to come up with is manually parsing output from "qm config". $ sudo qm config 148 boot: meta: creation-qemu=7.2.0,ctime=1700604130 name: jenkins-pipeline-28 scsi0...
  7. C

    [SOLVED] Storage einem Pool zuweisen via CLI

    Hallo Zusammen, gibt es eine Möglichkeit über die CLI beim anlegen von Storage (oder von mir aus auch danach) diesen einem Resource Pool zuzuweisen? Viele Grüße, Cinux
  8. C

    Snapshots failed for every VM "dataset already exists"

    Hi since 2 weeks i cant create any snapshots for any VM i created on my proxmox server. I dont know what to do because running the snapshot in GUI or CLI results in zfs error: cannot create snapshot 'SSD_ZFS/vm-<ANY_ID_HERE>-disk-0@<CHOOSE_ANY_SNAPSHOTNAME_HERE>': dataset already exists Even...
  9. L

    [SOLVED] unable to create vm with qm

    So I'm unable to create a vm with qm or pvesh. I can create them with the webui no problem. The commands I use are bellow plus their output. root@proxmox:~# pvesm alloc VM-OS-Drives 106 vm-106-disk-0 1M --format raw successfully created 'VM-OS-Drives:vm-106-disk-0' root@proxmox:~# pvesm alloc...
  10. M

    qm set --sshkey

    Hey guys, I think I already know the answer, but you never know. In Proxmox GUI, in cloud-init settings, I'm able to set the ssh key (ed25519) as a string. This can also be confirmed in the conf file in /etc/pve/qemu-server/ When I attempt to do the same in the CLI, I get: No such file...
  11. CarstenMartens

    [SOLVED] Mailfilter Regelsatz per CLI anpassen und akt- bzw. deaktivieren

    Hallo, nachdem wir heute von einem unseren Kunden der ein teures Ticketsystem benutzt, wegen einem Fehler in diesem mit Mails zugebombt wurden, würde ich gern wissen ob Wer-Objekte per CLI geändert werden können und Regeln als solches deaktiviert bzw. aktiviert werden können. Danke für die Hilfe
  12. C

    Bare Metal backup of entire Hypervisor for DR

    After suffering recent failure of my Proxmox VE boot disk, I'm contemplating a better (but simple) Disaster Recovery Strategy. Option 1: Boot from a LiveOS, use "dd" to backup my (now unmounted) Proxmox boot disk (safest, but requires prep) Option 2: Shutdown Proxmox VE application, use "dd"...
  13. D

    [SOLVED] getting VMID from the command line

    hi all do we have a tool that can get the next available vmid from the system that's unique across the cluster ? as am looking at using qm create but can't pass 0 as the VM ID to auto generate the next ID.
  14. S

    API how to use 'GET /api2/json/nodes/{node}/qemu --full' via HTTP/proxmoxer

    Hello, How can I use HTTP style of CLI : pvesh get /nodes/{node}/qemu --full GET /api2/json/nodes/{node}/qemu --full ? here is working example from proxmoxer wrapper but without "full" def vm_current_all(targetnode): x = proxmox.nodes(targetnode).qemu().get() return x
  15. J

    Ask for best practice allowing host CLI diagnose if only one GPU that is passed

    Hi all, I had some issue to connect to my proxmox sever which does not have IPMI (or iKVM). It is build on a Threadripper workstation with MSI TRX40 motherboard. I fixed the issue, which is not related to the proxmox. That lead me thinking: Since my only GPU has been passthrough, the frame...
  16. jsterr

    [SOLVED] No ceph commands working on node 2 and node 3

    I wanted to install ceph from cli without interacting with the gui and did the following: pveceph install on pve-01 pve-02 pve-03 pveceph init --network 10.5.5.221/24 --cluster-network 10.6.6.221/24 on pve-01 pveceph mon create on pve-01 Now pveceph works well on pve-01 but pve-02 and pve-03...
  17. T

    List of steps to create a new vm starting from scratch exclusively via CLI.

    Hi, I'm trying to create vm, on my proxmox test cluster with ceph storage, virtual machine exclusively via cli. I understood that I have to use the qm command, but I did not understand where in the command the hard drive is created like when I create it from the GUI. Could some of you guide me...
  18. H

    VM Commands not working over SSH

    Hi Everyone, I'm completely new so this might be a really easy one for you. :-) When running commands such as 'qm list' from within the shell on the web interface, it returns a list of my VM's. But when running the exact same command logged in as root via putty/ssh, i get 'command not found'...
  19. D

    How to get tracking by date on pmg-log-tracker

    Sometimes I use the pmg-log-tracker CLI tool to track mails, but when I want to do it using date format as help show: -s START start time (YYYY-MM-DD HH:MM:SS) -e END end time (YYYY-MM-DD HH:MM:SS) I get an error, saying that it is unable to parse start time, like this: #~...
  20. I

    What is the Proxmox MAC address block or range?

    Like the subject says really. For $reasons I need to create a new VM from the command line. For the network adapter I need to specify a MAC address. To this end, I'm wondering if Proxmox has registered a MAC(OUI) block or range or prefix which we could use to generate out MAC's from. I mean I...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!