I'm creating a VM with two disks. After running the commands, this is how they look like in conf file:
virtio0 works fine like always, but virtio1 needs to be mounted from inside...
I have created a VM using windows 2019 cloud-init image on PVE 6.3 and everything works fine.
Now I make a change in hardware, for example upgrading ram. after stop / start operation, the password which had been set previously by cloud init, would not work and I cannot login into...
It seems the problem was with config file. This parameter should be set in C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf of windows image, described here:
I have created a windows 2019 cloud init image, following this tutorial, and using that image, I've created a VM using cloud init parameters for network and setting password.
The VM works, but there is a big problem. It takes around 10 minutes for cloud parameters to apply. That is how log I...
That is not what I'm looking for. Sometimes it's going to be a very big command, like multiple commands concated with &&. like echo "something" >> file.txt && mv some-file other-file && ...
I can do that on a windows guest like so:
qm guest exec 384285 "C:\WINDOWS\system32\cmd.exe" "/c any...
I'm having trouble running commands using guest agent on a centos 7 VM.
I have installed qemu-guest-agent on VM and it's running. (tested via qm agent $VMID ping)
Problem is I can't execute arbitrary commands from host.
I've tried it in different forms but all failed:
qm guest exec 384194...
I want to disable password login using cloud-init. I cloud not find a cloud-init option for that.
I edited my images and enabled password login using guestfish. But in certain cases, I want to disable password login at build time.
I used custom init config file using --cicustom...
I have a problem setting dns for my cloud init debian 10 image. This is the command I use:
qm set VMID --nameserver="184.108.40.206 220.127.116.11"
But I can't access the VM via ssh.
When I add nameservers manually to resolve.conf, it starts working.
I have this issue only for debian. It works fine for...
@ryba84 Thanks for your reply.
I'm not creating templates from templates. only one template. then I'm cloning from that and set number of cpus and amount of ram for cloned VM. everything fine so far.
The thing is, at the beginnnig, when I'm creating the template, the template could have much cpu...
I'm creating VMs using templates on thin lvm storage. I create the templates using various values for RAM and CPU, so template could have multiple CPUs or a big amount of RAM. Then on next builds, after clone I set CPU and RAM for new vm.
My question is that does having high number...
I'm trying to create a windows VM with cloud-init. I've downloaded the windows 2012 r2 image from cloudbase, but I have not been able to run int successfully.
The problem is when I start the VM, it starts booting from disk, windows logo appears, but it suddenly restarts, and again same...
I have created a VM which uses thin LVM. Now I want to start a fresh VM with the same id and back up old data. For that, I have renamed my disk (i.e vm-101-disk-0) to vm-101-disk-0-old and. Now I want to create a new volume.
The thing is I have a template which I create my Vms from, and I...
I followed the instructions from this page to create a vm:
qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0
qm importdisk 9000 bionic-server-cloudimg-amd64.img vms
qm set 9000 --scsihw...