change ip via qemu guest linux

alex.d

New Member
Aug 30, 2022
19
1
3
Hello.
Tell me please. How can I pass IP settings for a virtual machine?
qm guest exec 888 ip addr add 10.8.104.188/24 dev ens18 brd 10.8.104.255

This option works. But after a reboot, the settings are not saved. Maybe someone has solutions for Debian and Ubuntu? How to transfer settings? Don't offer cloud-init. This is a solution that requires a reboot.
Thanks
 

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!