diff options
author | Joao Arruda <joao.arruda@gmail.com> | 2015-07-23 19:32:11 -0300 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-07-23 20:40:04 -0400 |
commit | 330a06faf258e5f48cfe13bc018b017c4f918cff (patch) | |
tree | b0abb887bc869e6a55cddfe75d8d80e50a9fa458 | |
parent | c91e4f32910b9cfda9f77ae9eeae8c992ad71a8a (diff) | |
download | acf-provisioning-330a06faf258e5f48cfe13bc018b017c4f918cff.tar.bz2 acf-provisioning-330a06faf258e5f48cfe13bc018b017c4f918cff.tar.xz |
Fix ciscoata-template.lua file
Adjust typo in the admin password parameter;
Include new parameter to make sure the Time_Server value will be accepted;
Signed-off-by: Ted Trask <ttrask01@yahoo.com>
-rw-r--r-- | config/templates/ciscoata-template.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/templates/ciscoata-template.lua b/config/templates/ciscoata-template.lua index de91065..f91e840 100644 --- a/config/templates/ciscoata-template.lua +++ b/config/templates/ciscoata-template.lua @@ -58,14 +58,18 @@ end <% -- Device parameters -xml_elem("Web_Login_Admin_Passwd", values.device.adminpassword, "na") +xml_elem("Web_Login_Admin_Password", values.device.adminpassword, "na") xml_elem("Web_Login_Guest_Password", values.device.adminpassword, "na") xml_elem("IVR_Admin_Password", values.device.adminpassword, "na") %> <Time_Setup> <% -xml_elem("Time_Server", values.device.sntpserver, "na") +if values.device.sntpserver then + xml_elem("Time_Server_Mode", "manual", "na") + xml_elem("Time_Server", values.device.sntpserver, "na") +end + -- Handle Time Zone parameter -- See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html -- TZ variable, with no leading colon |