We have a separate management interface with private on its own vlan
That one can only be reached via VPN.
However some customers need access to console via 8006. We have a nginx proxy running on other HV and public IP NAT to that through firewall. And firewall also has rule to allow access...
If your VM`s use cloud init then u can use the API to Chang e the cloud init config.
Bit u must reboot the VM
Or as per the other sender u can use qemu guest agent u can also use that via the API
yes I finally worked out the adding like --command '/bin/ping' --command '8.8.8.8'
Aculally what I m trying to do run a script on the Mikotick Router
https://wiki.mikrotik.com/wiki/Manual:CHR#KVM
To set the Interface IP address after I create the VM so that I can then finish the conf off...
OK I worked it out can do like -c stuff -c extra stuff BUT now I see the real problem
QemuServer/Agent.pm
it treats this as an Arg not a key called input-data and without hacking the Agent.pm I cant do it :-(
so will have to work on my plan C
'arg' =>
Command: guest-exec
Execute a...
HI I m provisioning Mikrotik Routers and as there is No cloud-init M trying to use the guest exec
when I use guest exec by hand via socat I can get it to work below
But I m having a hell time with qm guest exec 689 or via the API or
pvesh create /nodes/{node}/qemu/{vmid}/agent/exec...
I think the qemu already has it as I see
Invalid tx_queue_size (= %u), must be a power of 2 between %d and %d
in qemu-system-x86_64 but how to pass it the config :-(
I upgraded my test system to V6 and all went well but now
during clone and backup i see these errors
However everything works fine it seems that the clone wants to find a ceph config which does not exist with the external ceph
any ideas or maybe a simple bug to fix
thanks
create full...
your idea to use them for non intense workload is problay a good idea
definaly dont use them for Block storeage on VM they will wear out too quicly as well in that case
yes I know about I use winrm to do that after its running
BTW I just upgarded my lab to Proxmox V6 and the cloud init works ( not sure about the password
OI assume the same issure though as windows needs a clear text password )
but no patches are needed so very cool
Hey looking at the mail logs ( as I was debugging for a problem )
I see that there are lot of entries for
starting database maintenance
and database maintenance
This seems to happen every 2 minutes is this by design ?
thanks
It depends assuming this new network range comes in in the same physical nic as your other range and that physical mic is connected to a bridge like vmb0 then the vnic on your VM will work as long as inside your VW you configure the network interface t use it.
If it also has a vlan and make...
What type of image centos debian etc as some of the cloud images the cloud init is too old like centos for example
So u have to do a few other things to get them to work