-
Notifications
You must be signed in to change notification settings - Fork 625
Add cloud-init-vmware-guestinfo package #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MateuszMalisz
merged 5 commits into
microsoft:1.0-dev
from
MateuszMalisz:mamalisz/cloud-init-vmware-guestinfo
Sep 21, 2020
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
10dce90
Add cloud-init-vmware-guestinfo package
MateuszMalisz 95527da
Fix cgmanifest downloadURL for cloud-init-vmware-guestinfo
MateuszMalisz ae1afcd
Add %license
MateuszMalisz bcf3471
Change license to short name, change Url tak to uppercase
MateuszMalisz 11c25d5
Change original packaging note. Move fields around and align.
MateuszMalisz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
SPECS/cloud-init-vmware-guestinfo/cloud-init-vmware-guestinfo.signatures.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
SPECS/cloud-init-vmware-guestinfo/cloud-init-vmware-guestinfo.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.