I have been struggeling for an hours trying to set a username/pass on a cloud image.
Using latest CentOS-7 cloud image directly - And have ProxMox 5.2-12. Followed the instructions in the manual step by step.
qm set 123 --ipconfig0 ip=XXX --cipassword="somepassword"--ciuser=root
Firs time I...
With all other image I have not so a big problem, but only with Fedora 29 and Fedora 30. The Cloud-Init works fine, so expl. User/Passwort-Set and the MAC comes with qemu is set for eth0 too, but the IP will not replaced and when the VM is started I have everytime 127.0.0.1 in.
A manual set in...
Im having this strange issue when I open the console from a cloud-init vm on a node other than the one im actually on it glitches noVNC.
So Im pointing my browser to node A then when I open a cloud-init vm on node B the console keeps restarting. Works fine when I open a cloud-init vm on node A...
Hi, I have a template on which cloud init is installed, I do fullclone from it and after that I change the ip and gw parameters.
Option 1 - qm set 123 --ipconfig0 ip = 10.0.10.123 / 24, gw = 10.0.10.1
Option 2 Post request / nodes /% s /% s /% d / config in the body of which new parameters ip...
I have been playing with cloud-init support in PVE and am loving it ... however, one of the things I want to disable on certain VMS (for good or for bad, please don't lecture on security) is to enable the root user to be able to ssh into the VMs (at least while we're building them and scp'ing...
Hello Proxmox team, I have been trying to provision a VM to use a network bridge all evening unsucessfully.
The following commands create a working VM that is configured via cloud-init. This works great and the VM starts up just fine. However, the `/etc/resolv.conf` file contains a nameserver...
Hi,
I would like to assign secondary IP addresses to a single network device using the cloud-init configuration.
I can read from the specification that this is possible to do. However, the Proxmox API and frontend does not allow to enter more than a single IP address. It would be great to allow...
hey guys, I'm working on extending current salt cloud module to support cloud-init (for qemu new vm's/clones)
from a first look, looks quite simple, just add ide[n] config with the following for example:
"ide0" : "local:101/vm-101-cloudinit.qcow2,media=cdrom" (this varies based on the next...
Hi
I'm completely confused with the proxmox support for Cloud-init so hoping someone can help.
I've not done very much cloud-init work but I did test it out a few months ago on some VM's in Parallels on my Mac. For that I pretty much had to create a meta-data file, a user-data file and then...
I am using cloud-init to set up some Ubuntu 18.04 VM's (uses netplan for net config)
They are all configured using static IPv4 address like 192.168.0.x/24
The gateway is 192.168.0.254
The generated /etc/netplan/50-cloud-init.yaml file does not contain gateway4 attribute
Maybe not an issue, but I couldn't easily move a cloud-init drive from a local to a shared storage (for live migration)
The workaround was just remove&recreate the drive, but the "move disk" button is just a bit easier.
Hey,
I'm following the docs on creating a cloud-init template via cli, and ran into some errors. Maybe it's me, maybe others can check as well.
USER@HOST: user with root privs on current pve
/var/lib/vz/template/iso # wget...
I followed the instructions here and it worked as expected but I can't see the IP address assigned to the instance since it was assigned by DHCP. I can't SSH to this machine if I don't know the IP address. Obviously, accessing the console doesn't work. I ticked the "Qemu Agent" checkbox in the...
Greetings
I'm testing cloud-init on a brand new Ubuntu 18.04 VM.
My problem is that the IP of the VM and the GW are not on the same subnet (which is quite usual for a floating IP), so I guess the whole process of setting network fails.
I can see the parameters in...
I'm a bit confused about what cloud-init options are supported by Proxmox. The 5.2 announcement blog post says:
However, the cloud-init docs make no mention of configuring mount points or post install scripts. What am I missing?
Hello,
I have tried a few images, i am currently trying CentOS 7 Generic Image and when it loads up, it will update cloud-init and the os and i cant login via the console even if i change the root password via Cloud-Init within proxmox.
i have also disabled these in the cloud.conf
ssh_pwauth...
Hello,
There's a problem with cloud-init drive, when creating this drive you have the option to choose the image type as like normal disks (raw, qcow2 or vmdk) but when choosing type other than qcow2, (raw or vmdk), It will get ignored and pve will always create qcow2 format.
What is the...
Greetings.
I am trying to figure out a way to resize disks of cloud-init created clones. At the moment created VMs have just as much storage as the image.
Note: I want to provision Centos 7 only VMs.
If anyone can provide a different solution to provision centos VMs with custom disk space you...
Hi guys,
I setup a 3-node experimental cluster with LVM on iSCSI (FreeNAS) as storage.
Live migration fails when the CloudInit drive is attached but it works fine without the CloudInit drive. Is this normal?
Live migration with the CloudInit drive attached gives this error...
Moin,
Kann man irgendwo globale Cloud-init Defaults setzen und wird der cloud-init support in Zukunft noch ausgebaut?
Was mir im Moment fehlt ist zb der qemu-guest-agent in den ubuntu cloud images. Da wäre es hilfreich eine Option zu haben die den agent via Cloud-init gleich installiert.
Ich...
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.