commit | d31efebab58a11ffae4c95cdda23766798f9c0c6 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <kundrat@cesnet.cz> | Tue Oct 08 00:08:49 2019 +0200 |
committer | Jan Kundrát <kundrat@cesnet.cz> | Tue Oct 08 00:23:37 2019 +0200 |
tree | 58f1ca63e9009db0b05a95b494576e1cd5ce95dc | |
parent | 78bf35b08b493fdf7ece621396ce36ad2e72ddf5 [diff] |
sysrepo: Persist module installation I have no idea how come that this has worked before -- perhaps only because the default config which we deploy at install time matches exactly the config of the 2018 TIP demo... Change-Id: I9e8bbc4d3ce310f385b0f4534f20290449e16bbe Bug: https://tree.taiga.io/project/jktjkt-czechlight/issue/822
diff --git a/package/cla-sysrepo/cla-install-yang.service.in b/package/cla-sysrepo/cla-install-yang.service.in index c3df8ea..34b67c8 100644 --- a/package/cla-sysrepo/cla-install-yang.service.in +++ b/package/cla-sysrepo/cla-install-yang.service.in
@@ -10,6 +10,7 @@ ExecStart=/usr/bin/sysrepoctl --install --yang /usr/share/cla-sysrepo/yang/__YANG__.yang ExecStart=/usr/bin/sysrepoctl --module __YANG__ --feature-enable __FEATURE__ ExecStart=/usr/bin/sysrepocfg --datastore=startup --import=/usr/share/cla-sysrepo/yang/__MODEL__.json __YANG__ +ExecStart=/bin/cp -a /etc/sysrepo /cfg/etc/ [Install] WantedBy=multi-user.target