Recent content by koval

  1. K

    FAIL: could not match the 'proxmox-backup' package version, is it installed?

    Same issue here apt install proxmox-backup-server proxmox-backup -y Solved, thx!
  2. K

    cloud-init hostname not working as expected [RHEL8/Rocky Linux/Centos 8]

    Hello, I faced with the same problem. Posted bug report on cloud-init github https://github.com/canonical/cloud-init/issues/4656
  3. K

    ASROCK J3455-ITX on Proxmox. Is it stable ?

    I've found a few topics where authors complain about issues with IOMMU groups, problems with passing PCI-e, and general system instabilities. I want to install Proxmox on that motherboard and use it as a primary Mikrotik router with a few small virtual machines. I would appreciate it if someone...
  4. K

    Can someone confirm that Packer -force does not delete existing template in Proxmox ?

    Yes, I am asking about this option. I have already asked at Packer community. But I also thought that maybe someone from Proxmox community is using Packer with this option and can share the information.
  5. K

    Can someone confirm that Packer -force does not delete existing template in Proxmox ?

    Can someone confirm that Packer with -force option does not delete existing template in Proxmox ? When I running packer build -force, the build consistently fails with Error creating VM: error creating VM: 500 unable to create VM 8001 - VM 8001 already exists on node 'pve', error status: From...
  6. K

    Convert Existing VM to a template using packer

    Hello @logeswaran Here is good tutorial how use Packer with Proxmox. Basically you can create Packer script which would convert you VM to template.
  7. K

    [SOLVED] Ubuntu template created with packer disables default user account

    Ok, I found problem. As I understand, username ubuntu is default and locked by default settings. I tried template with other username and it works correctly.
  8. K

    [SOLVED] Ubuntu template created with packer disables default user account

    This is the evidence: cat /etc/shadow ubuntu:!$6$xyz$lrzkz89JCrvzOPr56aXfFFqGZpBReOx5ndDu9m5CwVFWjZsEIhvVm.I5B4zMxJdcdTyAvncwjKT.dWcD/ZHIo.:19269:0:99999:7::: Unlocked password should be...
  9. K

    [SOLVED] Ubuntu template created with packer disables default user account

    Updated user-data with lock_passwd: false Unfortunately didn't help. #cloud-config autoinstall: version: 1 locale: en_US keyboard: layout: us ssh: install-server: true allow-pw: true disable_root: true ssh_quiet_keygen: true allow_public_ssh_keys: true...
  10. K

    [SOLVED] Ubuntu template created with packer disables default user account

    This is my packer config for template creation in Proxmox ubuntu-server-focal-docker.pkr.hcl # Ubuntu Server Focal Docker # --- # Packer Template to create an Ubuntu Server (Focal) with Docker on Proxmox # Variable Definitions variable "proxmox_api_url" { type = string } variable...
  11. K

    [SOLVED] hostname not set via CloudInit with --cicustom and Ubuntu 22.04

    As far as I understand there is no way to automatically insert hostname from VM name in a clone stage ? I am looking for a solution to take hostname from VM name automatically without additional step.
  12. K

    Cloud-init network configuration with Ubuntu (--cicustom option)

    --cicustom "user=local:snippets/userconfig.yaml,vendor=local:snippets/cloudinit-vendor.yml,network=local:snippets/cloudinit-network.yml" Resolved my problem, Thanks!
  13. K

    Cloud-init network configuration with Ubuntu (--cicustom option)

    Yes. Only `network: version: 2` . Here is log from cloud-init sudo cat /var/log/cloud-init.log | grep network 2022-09-26 12:44:18,634 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: boot-new-instance 2022-09-26 12:44:18,634 - util.py[DEBUG]: Reading from...
  14. K

    Cloud-init network configuration with Ubuntu (--cicustom option)

    Hello, I am trying to configure network with cloud-init. I've prepared template with cloud-init with the following option: qm set 8000 --cicustom "user=local:snippets/userconfig.yaml,vendor=local:snippets/cloudinit-vendor.yml" cloudinit-vendor.yml: cat cloudinit-vendor.yml #cloud-config...