[pve-devel] [PATCH 2/8 container] cloudinit: basic implementation

Fiona Ebner f.ebner at proxmox.com
Thu Feb 13 13:06:44 CET 2025


Am 13.02.25 um 12:01 schrieb Fiona Ebner:
> Am 10.02.25 um 13:07 schrieb Daniel Herzig:
>> diff --git a/src/PVE/LXC/Cloudinit.pm b/src/PVE/LXC/Cloudinit.pm
>> new file mode 100644
>> index 0000000..3e8617b
>> --- /dev/null
>> +++ b/src/PVE/LXC/Cloudinit.pm
>> @@ -0,0 +1,114 @@
>> +package PVE::LXC::Cloudinit;
>> +
>> +use strict;
>> +use warnings;
>> +
>> +use Digest::SHA;
>> +use File::Path;
> 
> Missing includes:
> 
> use URI::Escape;
> 
> And we also need a dependency on liburi-perl in debian/control ;)
> 
> use PVE::JSONSchema;
> 
>> +use PVE::LXC;

And actually, this one is not used (it just transitively imported all
the other needed ones, but that's confusing)

> 
> use PVE::Storage;
> use PVE::Tools;
> 




More information about the pve-devel mailing list