all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] unbreak get_subscription without sshd installed
@ 2020-11-10 15:59 Fabian Grünbichler
  2020-11-10 16:01 ` Dietmar Maurer
  2020-11-10 16:54 ` Thomas Lamprecht
  0 siblings, 2 replies; 5+ messages in thread
From: Fabian Grünbichler @ 2020-11-10 15:59 UTC (permalink / raw)
  To: pbs-devel

which might be the case e.g. in a PBS container

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---

Notes:
    we might want to switch to a different file as base? or even generate a file
    just for the server ID derivation?

 src/api2/node/subscription.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api2/node/subscription.rs b/src/api2/node/subscription.rs
index 67797fd5..010a0209 100644
--- a/src/api2/node/subscription.rs
+++ b/src/api2/node/subscription.rs
@@ -94,7 +94,7 @@ pub fn get_subscription(
         Ok(None) => SubscriptionInfo {
             status: SubscriptionStatus::NOTFOUND,
             message: Some("There is no subscription key".into()),
-            serverid: Some(tools::get_hardware_address()?),
+            serverid: tools::get_hardware_address().ok(),
             url:  Some(url.into()),
             ..Default::default()
         },
-- 
2.20.1





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-10 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:59 [pbs-devel] [PATCH proxmox-backup] unbreak get_subscription without sshd installed Fabian Grünbichler
2020-11-10 16:01 ` Dietmar Maurer
2020-11-10 16:52   ` Fabian Grünbichler
2020-11-10 16:54 ` Thomas Lamprecht
2020-11-10 17:23   ` Fabian Grünbichler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal