Search results

  1. F

    [SOLVED] Mount second disk in vm

    Hi. I'm creating a VM with two disks. After running the commands, this is how they look like in conf file: virtio0: local:1013255/vm-1013255-disk-0.qcow2,size=30G virtio1: local:1013255/vm-1013255-disk-1.qcow2,size=200G virtio0 works fine like always, but virtio1 needs to be mounted from inside...
  2. F

    Proxmox windows cloud-init password problem after upgrade

    Hello everyone. 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...
  3. F

    [SOLVED] Windows cloud init latency

    Hi. 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...
  4. F

    [SOLVED] Run guest agent commands on linux VM

    Hi. 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...
  5. F

    [SOLVED] Cloud-init disable password login

    Hi. 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...
  6. F

    Setting DNS for Debian cloud-init

    Hi. I have a problem setting dns for my cloud init debian 10 image. This is the command I use: qm set VMID --nameserver="4.2.2.4 8.8.4.4" 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...
  7. F

    [SOLVED] Creating templates with high amount of resources

    Hi everyone. 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...
  8. F

    Creating a windows cloud-init VM

    Hello, 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...
  9. F

    [SOLVED] Adding a new volume for existing VM

    Hi. 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...
  10. F

    [SOLVED] Problem in creating template and cloning with an LVM VG

    Hi. I followed the instructions from this page to create a vm: wget https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0 qm importdisk 9000 bionic-server-cloudimg-amd64.img vms qm set 9000 --scsihw...