Recent content by PeterAndersson

  1. P

    [SOLVED] Bookworm cloud image fails to find network adpater?

    Looks like bookworm reads the network settings from the cloud-init while bullseye didn't. Running `qm set "$VMID" --ipconfig0 ip=dhcp` fixed the issue!
  2. P

    [SOLVED] Bookworm cloud image fails to find network adpater?

    Hi I'm trying to use Proxmox with the debian bookworm cloud image and cloud-init. But when I start the vm it gets stuck on boot when it checks that it has a network connection Job systemd-networkd-wait-online.service/start running (#s / no limit) for about 2 minutes. It seems Debian bookworm...
  3. P

    Proxmox debian cloud-init disk name unstable

    Thanks that makes more sense, so for my current disk the path is then /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1. I'm running debian cloud image as stated and it uses cloud-init 20.4.1 but it seems the following doesn't work disk_aliases: #Found a bug saying the name should be disk not...
  4. P

    Proxmox debian cloud-init disk name unstable

    Hi I have the following script qm create "$VMID" --name "debian-docker" --memory 10240 --sockets 1 --core 4 --net0 virtio="46:4A:5E:3C:8A:55",bridge=vmbr0 --description "Debian bullseye cloud image" --agent enabled=1 qm set "$VMID" --ide2 "$STORAGE:cloudinit" qm set "$VMID" --serial0 socket...
  5. P

    [TUTORIAL] Get Postfix to Send Notifications (Email) Externally

    For those of you using zoho as smtp server I managed to get it working with the following: /etc/postfix/main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version myhostname=proxmox.domain.com smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no #...
  6. P

    [SOLVED] Can't get cloud-init ssh_authorized_keys to work

    It was my colon after i removed it it's working as expected
  7. P

    [SOLVED] Can't get cloud-init ssh_authorized_keys to work

    I checked the /var/log/cloud-init-output.log file it still says ci-info: no authorized SSH keys fingerprints found for user peter. and ssh-ed25519: ..... peter@....something is just replaced content. And yes I copied the content from my id_ed25519.pub but I added a - in front and a : after...
  8. P

    [SOLVED] Can't get cloud-init ssh_authorized_keys to work

    I'm trying to use cloud init to add my ssh key, I have generated one on my desktop PC using id_ed25519 after that I added the following to my cloud-init.yml users: - name: peter passwd: "..." # to enable auth using password until I get my key to work ssh_authorized_keys: -...
  9. P

    [SOLVED] Can't get cloud init to work

    Hi thanks for your quick reply. One way to check if the file is run is to start terminal immediately after VM start, ie "qm start 100 && qm terminal 100". Then watch the console messages. I have attached a file with the output (not sure i was able to capture all of it.) I can see some cloud...
  10. P

    [SOLVED] Can't get cloud init to work

    Hi I have created the following script to create a VM and with a cloud-init config: #!/bin/bash echo "Loading variables" VMID=230 STORAGE=storage IMAGE=debian-11-genericcloud-amd64.qcow2 SNIPPETNAME=debian-docker-cloud-init.yml echo "VMID: $VMID" echo "STORAGE: $STORAGE" echo "IMAGE: $IMAGE"...
  11. P

    [SOLVED] Remove VM disk from CLI?

    I think I managed to find the correct way qm set $VMID --delete unused0 would have been nice if qm set $VMID --delete scsi0 had printed out unused0 so that I had a hint. (This also seems to delete the zfs volume so I don't have to delete it any more)
  12. P

    [SOLVED] Remove VM disk from CLI?

    Hi I run proxmox 7.2-7, I'm trying to remove a VM disk from the CLI. I have tried the following: qm set $VMID --delete scsi0 zfs destroy -f $STORAGE/vm-$VMID-disk-0 The first command seems to mark the disk as unused, and the second removes the zfs volume, but the UI still believes the disk is...
  13. P

    using intel quick sync inside container?

    After mapping the video and render group into the container it seems to be detected This was done by running the following commands getent group video | cut -d: -f3 and getent group render | cut -d: -f3 on the host and in the container and mapping them using the config file and /etc/subuid and...
  14. P

    using intel quick sync inside container?

    Hi I have a machine with a Intel® Core™ i5-4690K CPU, that has Intel Quick Sync according to Arc I have installed the i965-va-driver-shaders package and can see that something is detected by running vainfo error: can't connect to X server! libva info: VA-API version 1.10.0 libva info: Trying to...

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!