Hi,
We are using Proxmox Virtual Environment 6.0-4
We have downloaded the Centos6 cloud image and created VM using that image file.
Download link: https://cloud.centos.org/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2
========================
NOTE:
We have edited this image CentOS-6-x86_64-GenericCloud.qcow2 file regarding as this document link https://whattheserver.com/proxmox-cloud-init-os-template-creation/
1. We have changed these lines to like below in /etc/cloud/cloud.cfg
# virt-edit CentOS-6-x86_64-GenericCloud.qcow2 /etc/cloud/cloud.cfg
disable_root: 0
lock_passwd: false
2. Also changed these lines in /etc/ssh/sshd_config
# virt-edit CentOS-6-x86_64-GenericCloud.qcow2 /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
3. Set password for this image file
# virt-customize -a CentOS-6-x86_64-GenericCloud.qcow2 --root-password passwordASSWORD_here
================================
we have followed these steps in proxmox node,
qm create 215 --name "Centos6-x86-64-cloudinit-vm1" --memory 2048 --net0 virtio,bridge=vmbr0
qm importdisk 215 CentOS-6-x86_64-GenericCloud.qcow2 ceph-pool
qm set 215 --scsihw virtio-scsi-pci --scsi0 ceph-pool:vm-215-disk-0
qm set 215 --ide2 ceph-pool:cloudinit
qm set 215 --boot c --bootdisk scsi0
qm set 215 --serial0 socket --vga serial0
But after VM was created we can't log in to that created VM 215. It shows password incorrect when login to this via console. These procedures worked for Debian 9, Debian 10, and centos 7 image files and we have created VM's using these templates successfully, but the centos 6 image file was not working. So we cant create centos 6 KVM VM in proxmox using a template.
Can you please help us to solve this password incorrect issue on centos 6 VM
Please see the below screenshots,
We are using Proxmox Virtual Environment 6.0-4
We have downloaded the Centos6 cloud image and created VM using that image file.
Download link: https://cloud.centos.org/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2
========================
NOTE:
We have edited this image CentOS-6-x86_64-GenericCloud.qcow2 file regarding as this document link https://whattheserver.com/proxmox-cloud-init-os-template-creation/
1. We have changed these lines to like below in /etc/cloud/cloud.cfg
# virt-edit CentOS-6-x86_64-GenericCloud.qcow2 /etc/cloud/cloud.cfg
disable_root: 0
lock_passwd: false
2. Also changed these lines in /etc/ssh/sshd_config
# virt-edit CentOS-6-x86_64-GenericCloud.qcow2 /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
3. Set password for this image file
# virt-customize -a CentOS-6-x86_64-GenericCloud.qcow2 --root-password passwordASSWORD_here
================================
we have followed these steps in proxmox node,
qm create 215 --name "Centos6-x86-64-cloudinit-vm1" --memory 2048 --net0 virtio,bridge=vmbr0
qm importdisk 215 CentOS-6-x86_64-GenericCloud.qcow2 ceph-pool
qm set 215 --scsihw virtio-scsi-pci --scsi0 ceph-pool:vm-215-disk-0
qm set 215 --ide2 ceph-pool:cloudinit
qm set 215 --boot c --bootdisk scsi0
qm set 215 --serial0 socket --vga serial0
But after VM was created we can't log in to that created VM 215. It shows password incorrect when login to this via console. These procedures worked for Debian 9, Debian 10, and centos 7 image files and we have created VM's using these templates successfully, but the centos 6 image file was not working. So we cant create centos 6 KVM VM in proxmox using a template.
Can you please help us to solve this password incorrect issue on centos 6 VM
Please see the below screenshots,
Attachments
Last edited: