[PVE-User] [pve-devel] Proxmox VE 5.0 beta2 released!

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 13 09:44:26 CEST 2017


the after, we generate on the fly a cdrom iso (when vm start), with cloudinit config. 

and the vm is running a cloudinit daemon, which read the cdrom. 



De: "lyt_yudi" <lyt_yudi at icloud.com> 
À: "aderumier" <aderumier at odiso.com> 
Cc: "proxmoxve" <pve-user at pve.proxmox.com> 
Envoyé: Mardi 13 Juin 2017 06:55:11 
Objet: Re: [pve-devel] [PVE-User] Proxmox VE 5.0 beta2 released! 

Hi, Alexandre 

Confused about this… 




在 2017年5月23日,下午10:14,Alexandre DERUMIER < [ mailto:aderumier at odiso.com | aderumier at odiso.com ] > 写道: 

you need to add a special cdrom with 

#qm set vmid -(ide|sata)X storeid:cloudinit 

(it'll be create by proxmox, can be file or any storeid) 

then for configuration: 

ipconfigX: ip=192.168.0.124/24,gw=192.168.0.1 
searchdomain: [ http://mydomain.com/ | mydomain.com ] 
nameserver: 8.8.8.8 
sshkey: .... 
hostname: myhostname (optionnal, default is vm name) 




How does this work? by post api ? 

Thanks. 


BQ_BEGIN


(if you have a net0, you can add ipconfig0:....) 

then simple install cloudinit daemon in your vm. 

(I have tested it by debian jessie backports) 

at start, proxmox will generate config in the cdrom, and daemon in the vm will apply it. 

BQ_END






More information about the pve-user mailing list