[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-devel
Subject:    [OSSTEST PATCH v2 2/2] host props/flags: Save for commissioning flights too
From:       Ian Jackson <ian.jackson () eu ! citrix ! com>
Date:       2020-03-31 16:43:18
Message-ID: 20200331164318.4651-2-ian.jackson () eu ! citrix ! com
[Download RAW message or body]

Obviously we want this!

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 Osstest.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest.pm b/Osstest.pm
index 54f0085c..1e381d8f 100644
--- a/Osstest.pm
+++ b/Osstest.pm
@@ -411,7 +411,7 @@ sub blessing_must_not_modify_host ($) {
     # returns '' (falseish) if we may modify a host's props etc.,
     # or a trueish string message if may not
     my ($intended_blessing) = @_;
-    return '' if $intended_blessing eq "real";
+    return '' if $intended_blessing =~ qr{^real$|^commission-};
     return "intended blessing $intended_blessing != real";
 }
 
-- 
2.11.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic