[pve-devel] [PATCH Qemu-Server Adapt Cloudbase-init for windows 0/1]

Austin Chan sptrsca at gmail.com
Thu Apr 11 11:53:18 CEST 2019


Hi,

Thanks. 

BTW, please advise how to split these code?

Because these codes are doing one things that make the configdrive2 format cloudbase-init read correct info from cloud-init driver. 

*These will not change the format for Linux based cloudinit (nocloud). 

> On Apr 11, 2019, at 5:40 AM, Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
> 
> On 4/11/19 11:31 AM, Austin Chan wrote:
> 
>> Noted. So, do I have to resubmit it?
> 
> I wrote a few comments on the changes itself, maybe go through them and address
> them (at least if seem reasonable, if they do not seem reasonable to you,
> please note that with a reason) and then send a second version (v2).
> 
> Thanks a lot!
> 
> 
>> 
>> 
>>> On Apr 11, 2019, at 5:27 AM, Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>>> 
>>> Hi,
>>> 
>>> On 4/11/19 10:46 AM, Austin Chan wrote:
>>>> 1. set plain text password for Windows VM (read in ostype) in qemu 
>>>> configuration files (Cloudbase-init do only read and set password 
>>>> by plain text password).
>>>> 
>>>> 2. change dns to adapt cloudbase-init format "dns-nameserver".
>>>> 
>>>> 3. pass the "hostname" and "admin_pass" info to metadata in the 
>>>> driver of cloudbase-init.
>>>> 
>>>> 4. change iso-lever of "genisoimage" to 3.
>>> 
>>> first thanks for your contribution. A few general remarks here.
>>> 
>>> 1. If you list such points, all speaking of different things, it's probably
>>>  a good idea to split the changes up into multiple patches, as each patch
>>>  should be contained to a single (logical) change
>>> 
>>> 2. You describe what you do, but it would be good to know why something is
>>>  done, the what can be good too, but should be normally be clear when reading
>>>  the code changes.
>>> 
>>> 3. This information would be great to have in the respective patch as git commit
>>>  message, so that it gets into our git repo.
>>> 
>>>> 
>>>> Austin Chan (1):
>>>> Signed-off-by: Austin Chan <sptrsca at gmail.com>
>>>> 
>>>> PVE/API2/Qemu.pm            |  8 ++++++--
>>>> PVE/QemuServer/Cloudinit.pm | 13 +++++++++----
>>>> 2 files changed, 15 insertions(+), 6 deletions(-)
>>>> 
>>> 
>>> 
>> 
>> _______________________________________________
>> pve-devel mailing list
>> pve-devel at pve.proxmox.com <mailto:pve-devel at pve.proxmox.com>
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel <https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>



More information about the pve-devel mailing list