From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id DD2D5845E for ; Wed, 21 Jun 2023 14:23:26 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BEBB71CEC6 for ; Wed, 21 Jun 2023 14:22:56 +0200 (CEST) Received: from mail.unix-scripts.info (unknown [IPv6:2a02:27d0:0:dead:beef::222]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 21 Jun 2023 14:22:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.unix-scripts.info (Postfix) with ESMTP id 538FE3A0B99 for ; Wed, 21 Jun 2023 14:22:49 +0200 (CEST) Received: from mail.unix-scripts.info ([127.0.0.1]) by localhost (venus.unix-scripts.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LnaY-cRMg4X2 for ; Wed, 21 Jun 2023 14:22:49 +0200 (CEST) Received: from [IPV6:2a02:27d0:0:5e0d:da9e:f3ff:fe2d:48ca] (unknown [IPv6:2a02:27d0:0:5e0d:da9e:f3ff:fe2d:48ca]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.unix-scripts.info (Postfix) with ESMTPSA id 3FD273A0B98 for ; Wed, 21 Jun 2023 14:22:43 +0200 (CEST) Message-ID: <91e589fd-0811-b2ba-98e8-b78fcc21e8bd@unix-scripts.info> Date: Wed, 21 Jun 2023 14:22:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 To: pve-user@lists.proxmox.com From: Laurent CARON Content-Language: fr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.711 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_INFOUSMEBIZ 0.75 Prevalent use of .info|.us|.me|.me.uk|.biz|xyz|id|rocks|life domains in spam/malware RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [PVE-User] Network device name change (with systemd) under debian after adding/removing line meta: from config file X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2023 12:23:26 -0000 Hi, I'm experiencing a rather strange behavior with VM creation on a 7.7 proxmox cluster. I do have quite old (migrated from older proxmox versions) VMs as well as new VMs (created after the 7.2 version). Config file: $ cat /etc/pve/qemu-server/889.conf boot: order=virtio0;ide2;net0 cores: 1 cpu: host ide2: none,media=cdrom machine: q35 memory: 2048 meta: creation-qemu=7.0.0,ctime=1687340877 name: vs-lcaron-testalacon net0: virtio=C2:B9:B3:FE:6C:B0,bridge=vmbr2000 numa: 1 ostype: l26 scsihw: virtio-scsi-pci smbios1: uuid=ef269cd3-e7a6-442e-87ad-30b68741003b sockets: 1 virtio0: VMs_NFS:889/vm-889-disk-0.qcow2,discard=on,size=64G vmgenid: ac09af11-7012-41eb-99e3-ca1162afc2bd Using this config, VM installs fine. Interface name is enp6s18 If I do remove the line 'meta: ...' from the config file, and restart the VM's interface is now ens18. Please note, when using 'meta: ...' lspci | grrp Ethernet is: 06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device When not using 'meta: ...' lspci is exactly the same. What is changing behind the scenes when using 'meta: ' in the config file ? I'm trying to have a consistent naming across VMs, wether the VMs were instanciated on an old or a new proxmox version. Thanks