cli

  1. 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...
  2. 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'...
  3. 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: #~...
  4. 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...
  5. V

    [SOLVED] Unable to list VMs using API or CLI

    I have a VM in running state, but some how API or pvesh command does not shows it. Not sure, what am I missing here. root@proxmox:~# qm list | grep -i running 105 myrke2-node1 running 8096 20.00 12594 root@proxmox:~# root@proxmox:~# pvesh get /nodes...
  6. V

    What is the exact difference between pct and lxc-[...]?

    Hello, what is the exact difference between pct and lxc-[...]? I have the perception that many commands are the same or similar e.g. pct create and lxc-create. Unfortunately, I didn't really find anything about lxc-[...] in the Wiki. So are there concrete reasons why you should use one or the...
  7. W

    network config is it possible to use cli and gui ?

    in /etc/network/interfaces i can read is it possible to use cli ovs command and edit file interfaces what 'source' or 'source-directory' directives mean?
  8. N

    Add restored VM to Pool via CLI

    Hello! Please help me. How to add new restored VM from backup dump to exist pool via CLI ? I need it to make auto tasks in Bamboo. THX!
  9. S

    Need to export "inventory" information for web ordering

    I am the process of automating a website where someone can "purchase" a VM container and it's built automatically for them (via scripting) on the backed. To do this I need to make sure I don't over allocate my resources. I am new to the REST API so I apologize if this is an option already...
  10. J

    Drive not showing in GUI

    Hi, I am not new to computers but newer to PROXMOX and Linux. So could be mixing up device/drive/partition/fileformat. Playing around with a PCI Flash card aka FUsionIO drive. Think all looks good on that side root@pveD1541:~# fio-status Found 1 ioMemory device in this system Driver...
  11. G

    [SOLVED] Cluster node under ZFS in a strange state (containers greyed out)

    After some GUI or CLI operations on containers (move volume to another storage for example), it happens that the hole node goes "crazy". The GUI shows every container with a grey question mark on it and no name associated and every command on containers doesn't work at all until I reboot the...
  12. C

    NAT config

    For some reason the NAT config has been removed from the Web interface and is only available in CLI or the API ("This mode is only available via CLI or the API, but not via the WebUI."). In my opinion this is a very bad decision, because I (and I think allot of other people too) use this...
  13. P

    what happened to vztop and vzps commands in proxmox 4.x ?

    Hi dudes, We have updated our clusters to proxmox 4.4, anyone know what happened to vztop and vzps commands ? We could use them on proxmox 3.x. Already checked in Proxmox Changelog/Roadmap but nothing mentioned in them and google was unhelpful. Have they been replaced with new commands ? Thanks
  14. M

    [SOLVED] Manage Containers with CLI

    EDIT: Looked at doc and used pct, https://pve.proxmox.com/wiki/Linux_Container
  15. H

    Add extra "disks" to guest KVM via CLI

    Hi there, I'd like to add (via scripts etc.) extra storage to VMs (typically cloned templates). How do I do that? qm doesn't have a add network/disk/etc. I can see. pvesh looks like there are some extra steps involved, so before I re-invent the (GUI) wheel to do that, I'd first ask for...

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!