Wrapping an interactive shell around qm guest exec

ispirto

Renowned Member
Oct 20, 2012
37
1
73
Virtuozzo 7 has a way to run interactive shell for qemu guests referenced at https://docs.openvz.org/openvz_command_line_reference.webhelp/_prlctl_enter.html

It requires only the qemu guest agent installed on the guest.

So I believe they have somehow wrapped an interactive shell around the qemu agent's guest-exec method.

Proxmox has qm guest exec <vmid> <command> working great.

I was wondering if there is a way to implement a wrapper shell for interaction with the guest's OS just like Virtuozzo 7 has with Proxmox.
 
  • Like
Reactions: hitman
my suggestion would be for ip change :-)

qm guest exec 209 netsh interface ipv4 set address name="Ethernet" static 192.168.3.8 255.255.255.0 192.168.3.1

209 = vmid
 

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!