- conf: Update the 'VirtualizationVendor' action to strip any
URLs that may follow the vendor name Modified vhostmd-conf.patch bsc#1230961 OBS-URL: https://build.opensuse.org/package/show/Virtualization/vhostmd?expand=0&rev=59
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 00:25:00 UTC 2024 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
- conf: Update the 'VirtualizationVendor' action to strip any
|
||||
URLs that may follow the vendor name
|
||||
Modified vhostmd-conf.patch
|
||||
bsc#1230961
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 17:55:04 UTC 2024 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
||||
@@ -18,3 +18,12 @@ Index: vhostmd-1.2/vhostmd.xml
|
||||
<!-- <transport>xenstore</transport> -->
|
||||
</globals>
|
||||
<metrics>
|
||||
@@ -53,7 +53,7 @@ the logical && operator must be replaced
|
||||
<metric type="string" context="host">
|
||||
<name>VirtualizationVendor</name>
|
||||
<action>
|
||||
- rpm -q --qf '%{VENDOR}\n' -qf /etc/os-release
|
||||
+ rpm -q --qf '%{VENDOR}\n' -f /etc/os-release | sed -e 's/<.*//' -e 's/ *$//'
|
||||
</action>
|
||||
</metric>
|
||||
<metric type="string" context="host">
|
||||
|
||||
Reference in New Issue
Block a user