Recent content by PeterAndersson

  1. P

    CT container can't access network

    I managed to do a tcpdump on the host while doing a telnet on port 443 When doing it on the broken container tcpdump -ni any host 192.168.20.158 and host 192.168.20.1 and tcp tcpdump: data link type LINUX_SLL2 tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on...
  2. P

    CT container can't access network

    Its in the right column of the table (Sorry if you have to scroll sideways)
  3. P

    CT container can't access network

    Hi so i have one old CT container, that can access the network just fine But when i create a new one it manages to get an IP but that is about it.. Working CT Broken CT pct config 210 arch: amd64 cores: 4 features: nesting=1 hostname: emby memory: 2048 mp0: /storage/movies,mp=/mnt/movies...
  4. 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!
  5. 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...
  6. 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...
  7. 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...
  8. 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 #...
  9. 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
  10. 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...
  11. 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: -...
  12. 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...
  13. 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"...
  14. 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)