diff options
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-x | config-db/slxconfig-demuxer | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index c7e5b47e..6eb613a3 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -648,7 +648,7 @@ sub writeClientConfigurationsForSystem 1; }; if (!$attrsOK && $@) { - warn substr($@, 4); # remove leading '*** ' + warn $@; } writeAttributesToFile($client, $attrFile); @@ -745,6 +745,17 @@ sub writeSystemConfiguration $info->{'attr-digest'} ) ); + + my $attrsOK = eval { + OpenSLX::AttributeRoster->checkValues( + $info->{attrs}, $info->{'vendor-os'}->{name} + ); + 1; + }; + if (!$attrsOK && $@) { + warn $@; + } + my $attrFile = "$buildPath/initramfs/machine-setup"; writeAttributesToFile($info, $attrFile); |