Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Signatures": {
"cloud-init-vmware-guestinfo-1.3.1.tar.gz": "1f6c74b75d3697d62f0b5b8613e0d66bc06b2fd962f9b7c827c459d8c72505b9"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
Name: cloud-init-vmware-guestinfo
Version: 1.3.1
Release: 1
Summary: A cloud-init datasource for VMware
Group: System/Management
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://github.com/vmware/cloud-init-vmware-guestinfo

#Source0: https://github.com/vmware/%{name}/archive/v%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3
Requires: cloud-init
BuildArch: noarch

%description
Provides a cloud-init datasource for pulling meta, user,
and vendor data from VMware vSphere's GuestInfo interface.

%prep
%setup -q

%build

%install
install -dm 0755 %{buildroot}%{_sysconfdir}/cloud/cloud.cfg.d
install -m 0644 99-DataSourceVMwareGuestInfo.cfg %{buildroot}%{_sysconfdir}/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg
install -dm 0755 %{buildroot}%{python3_sitelib}/cloudinit/sources/
install -m 0644 DataSourceVMwareGuestInfo.py %{buildroot}%{python3_sitelib}/cloudinit/sources/DataSourceVMwareGuestInfo.py

%files
%license LICENSE
%config %{_sysconfdir}/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg
%{python3_sitelib}/cloudinit/sources/DataSourceVMwareGuestInfo.py

%changelog
* Thu Sep 17 2020 Mateusz Malisz <mamalisz@microsoft.com> 1.3.1-1
- Original version for CBL-Mariner.
- License Verified
11 changes: 11 additions & 0 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,17 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "cloud-init-vmware-guestinfo",
Comment thread
dmcilvaney marked this conversation as resolved.
"version": "1.3.1",
"downloadUrl": "https://github.com/vmware/cloud-init-vmware-guestinfo/archive/v1.3.1.tar.gz"
}
}
},

{
"component": {
"type": "other",
Expand Down