Displaying 3 results from an estimated 3 matches for "pveversion".
2012 Jul 17
8
How to override $::operatingsystem fact
...ox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
> setcode do
> ...
> elsif FileTest.exists?("/usr/bin/pveversion")
> "Proxmox"
This method doesn''t override the original fact.
I''ve also tried to set $::operatingsystem = "Proxmox" directly in my node.
What''s the best way to do override an existing fact ?
Regards,
Julien
--
You received this m...
2024 Oct 18
2
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
...NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root at pve2:~# pveversion
pve-manager/8.2.7/3e0176e6bb2ade3b (running kernel: 6.8.12-2-pve)
root at pve2:~#
- exact NUT version,
root at pve2:~# apt list nut*
Listing... Done
nut-cgi/stable 2.8.0-7 amd64
nut-client/stable,now 2.8.0-7 amd64 [installed]
nut-doc/stable 2.8.0-7 all
nut-i2c/stable 2.8.0-7 amd64
nut-ipmi/stable...
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
...ION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=debian
> HOME_URL="https://www.debian.org/"
> SUPPORT_URL="https://www.debian.org/support"
> BUG_REPORT_URL="https://bugs.debian.org/"
>
> root at pve2:~# pveversion
> pve-manager/8.2.7/3e0176e6bb2ade3b (running kernel: 6.8.12-2-pve)
> root at pve2:~#
>
>
> - exact NUT version,
> root at pve2:~# apt list nut*
> Listing... Done
> nut-cgi/stable 2.8.0-7 amd64
> nut-client/stable,now 2.8.0-7 amd64 [installed]
> nut-doc/stable 2.8.0-7...