From ae43fa83bfda2905d83869bcc43404edb0fadec8 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 21 Dec 2013 16:49:01 +0000 Subject: [PATCH] Update the Cisco spa504g provisoning template. It is now the first to use the key assignment. --- .../provision/cisco/spa504g/{$mac}.xml | 60 ++++++++++++++----- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/resources/templates/provision/cisco/spa504g/{$mac}.xml b/resources/templates/provision/cisco/spa504g/{$mac}.xml index 40a1a0fa0d..302fc5290a 100644 --- a/resources/templates/provision/cisco/spa504g/{$mac}.xml +++ b/resources/templates/provision/cisco/spa504g/{$mac}.xml @@ -161,22 +161,50 @@ No 300 Background Picture -1 -$USER -private - -1 -$USER -private - -1 -$USER -private - -1 -$USER -private - +{if $key_type_1 == 'line'} + {$key_id_1} + {$key_label_1} + private + +{else} + Disabled + {$key_label_1} + private + {$key_value_1} +{/if} +{if $key_type_2 == 'line'} + {$key_id_2} + {$key_label_2} + private + +{else} + Disabled + {$key_label_2} + private + {$key_value_2} +{/if} +{if $key_type_3 == 'line'} + {$key_id_3} + {$key_label_3} + private + +{else} + Disabled + {$key_label_3} + private + {$key_value_3} +{/if} +{if $key_type_4 == 'line'} + {$key_id_4} + {$key_label_4} + private + +{else} + Disabled + {$key_label_4} + private + {$key_value_4} +{/if} Vertical First No