I would like to load my clouding.yaml file at the start of my cloud init vm.
qm set <VM_ID> -cicustom "user=local:snippets/cloundinit.yaml"
However, when I start the vm, an error appears like that :
TASK ERROR: can't open '/var/lib/vz/snippets/cloundinit.yaml' - No such file or directory...
Hello to you,
I am encountering a problem.
I encounter this problem when I follow this tutorial: https://pve.proxmox.com/wiki/Cloud-Init_Support
Here are the commands I execute and the responses I get:
1) # download the image
Is there any way to stop creating a new default user on newly created VM using Cloud-init template?
Right now on my centos cloud-init template created by me has this config
# nano /etc/cloud/cloud.cfg
currently we're trying to create template based clones using Ansible's community.general.proxmox_kvm. To make the clones configurable we stick with cloud-init. We are building the template using a hand rolled Packer configuration which deploys fine (locally as well as in our production...
Hi guys, I have gotten cloud init to work with windows with some modification to proxmox and a windows template. since all of the other threads regarding this don't work anymore, at least i couldn't get them to, i thought i would share what i did.
the part is making proxmox save windows...
I have a problem setting dns for my cloud init debian 10 image. This is the command I use:
qm set VMID --nameserver="22.214.171.124 126.96.36.199"
But I can't access the VM via ssh.
When I add nameservers manually to resolve.conf, it starts working.
I have this issue only for debian. It works fine for...
I am unable to restore VMs that have cloud-init drives in 6.3-2. These are being backed up to a CIFS share, and restored to an NFS share.
Log entry when I try this:
restore vma archive: zstd -q -d -c /mnt/pve/backups/dump/vzdump-qemu-1002-2020_12_04-08_20_28.vma.zst | vma extract -v -r...
I'm getting crazy to create a vm provisioned with cloud-init. Here is what i do:
# create template
qm create 9000 --name centos-ci --memory 2048 --net0 virtio,bridge=vmbr0
Below is the cloud-init network configuration for the VM:
But when the VM boots, there is an additional DNS server being inserted by cloud-init:
The DNS server `192.168.122.1` is being added but is not apart of the configuration and is not functional:
Here are the steps I used to create...
I'm struggling to properly prepare a CentOS 7 Cloud-Init image, there doesn't seem to be an already prepared image like on Ubuntu and many tutorial are extremely different from each other and I just can't find a way to do this... I've searched for so many tutorials, yet none of...
Proxmox Version 6.2-4
Template VM OS : Centos 8
Cloud-init Version : 18.5
I am try to reset root password while on boot, it's not working in cloud-init.
This is my cloud-init config file,
[root@c8templatserverip ~]# cat /etc/cloud/cloud.cfg
a few days ago we had the problem with several VMs(qemu) that after some time they don't connect to the internet anymore. After some searching, we found out that Docker changes the network configuration(initially set by cloud-init) by itself (the server doesn't have an IPv4 address...
I'm trying to create a windows VM with cloud-init. I've downloaded the windows 2012 r2 image from cloudbase, but I have not been able to run int successfully.
The problem is when I start the VM, it starts booting from disk, windows logo appears, but it suddenly restarts, and again same...
I use the PROXMOX 6 (proxmox-ve: 6.1-2)
I set up a DNS server with dnsmasq
dnsmasq is configured to send search-domains
The VM is running Arch Linux
Within the VM systemd-networkd and systemd-resolved are used
I use "cloud-init" 19.3 with netplan 0.98-1
There are no...
I've setup Proxmox 6.1-7 and build a Centos 7 and Ubuntu server 18.04 vm. I installed cloud-init on both the vms, cleared out the vm config as recommended in this video:
I then closed...
Did anyone try Buster cloud images (specifically the generic image) with Proxmox and cloud-init yet?
I tried with both nocloud and configdrive but can't get the network settings to apply.
The cloud-init template seems to assume net0 is eth0, but it is changed to ens18.
But even if I replace eth0...
I followed the instructions from this article Cloud-Init Support
qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0
qm importdisk 9000 bionic-server-cloudimg-amd64.img local-lvm
qm set 9000 --scsihw...
We having issues to create VM templates for PROXMOX VE.
PROXMOX VE is installed and we added Moudules garden proxmox cloud module
(modulesgarden dot com >>products>>whmcs>>proxmox-cloud)
for linux distributions it requires cloud-init.
for windows server OS is requires cloudbase-init...
It´s possible a bug in the network setting from proxmox to VMs with cloud-init and ubuntu. I have see many forum entries about the same problemas! The big problem is a wrong routing and only with a manual work arround the VMs will runs! That can been, that a routing with a gateway neer the same...
I've used OpenStack image from Debian repo, but for some reason I can't login at all - SSH is disabled, not installed or network is not working for some reason, and it doesn't accept my local credentials. What the hell? Cloud-Init used by Buster is newer that...