cloud init CentOS 6

itvietnam

Renowned Member
Aug 11, 2015
132
4
83
Hello,

we are testing cloud init features on CentOS 6. Images downloaded from https://cloud.centos.org/centos/6/images/

Image name: CentOS-6-x86_64-GenericCloud.qcow2

We follow this guide: https://pve.proxmox.com/wiki/Cloud-Init_Support to create VM and add cloud-init image.

The test is ok for VM hostname, except following error:
  • Username: created but can not login with provision password
  • DNS: error
  • networking: error
  • SSH key injection: can not
May we know how to debug this problem?
 
please use a newer cloudinit version , old cloudinit versions are mostly broken
 
the cloudinit versions shipped in the default repositories is broken on most distros, current cloud init is 18.4
 
Thanks,

CentOS 6 is ok now, now i'm trying to fix the remaining version.

What do you mean EOL? CentOS 6 is still using publicly from many VPS provider such as DigitalOccean, Vultr, Linode. Debian 9 is not a EOL version.
 
  • Like
Reactions: HE_Cole
sorry you are right
Full updates May 10th, 2017
Maintenance November 30th, 2020
We stopped support it some time ago so I was mistaken
 
Cloud-init 18.3+24.gf6249277-1.e16
working partially.

Need to do
cloud-init clean

for every reboot to work.
 
Hi,

We use 18.3 on CentOS 6:

upload_2018-10-30_17-36-58.png

File system CentOS 6: ext4 - resize disk won't work
File system CentOS 7: xfs - resize disk work
File system all Ubuntu Cloud image: ext4 - resize disk work.
 
I am trying to regenerate cloud image through proxmox GUI . (changing pass)
but not changing
it works at my side.

This is from Ubuntu cloned by modulesgarden. Cloud-init version: 18.2. File system ext4 and can resize disk to 20GB. Templates VM is 8GB only.

2018-10-30_17-57-44.png