@mira I've played around a little bit the the options:
I've set ciuser/cipasswd/sshkeys/nameserver/ipconfig0 options and all is working as expected. So i've take a look into the cloud-init iso and the configuration files:
meta-data
instance-id: d57a4b93a50e48122186ddbe185efe1935a47741...
Of course i know that I can't use both options at the same time...
But when i take a look into the cloud-init image i think i've seen my problem:
while the autogenerated config of proxmox by setting ciuser / cipassword looks like this:
#cloud-config
hostname: cli-test-cos1
manage_etc_hosts...
Since I'm not able to login to the vm I'm not sure how to do so. Of couse i could additionally set the -ciuser and -sshkeys opion but i thought the cicustom with the user.yaml should do the same...
Hi,
I'm getting crazy to create a vm provisioned with cloud-init. Here is what i do:
# create template
wget https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2
qm create 9000 --name centos-ci --memory 2048 --net0 virtio,bridge=vmbr0
qm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.