Fix formula symlinking for cookiecutter generator

Change-Id: I69589cf318e86938204c313e3ffb27768aec3f2e
diff --git a/tcp_tests/templates/cookied-model-generator/underlay--user-data-cfg01.yaml b/tcp_tests/templates/cookied-model-generator/underlay--user-data-cfg01.yaml
index 83a8900..c871146 100644
--- a/tcp_tests/templates/cookied-model-generator/underlay--user-data-cfg01.yaml
+++ b/tcp_tests/templates/cookied-model-generator/underlay--user-data-cfg01.yaml
@@ -60,8 +60,7 @@
    - service salt-master restart
    - service salt-minion restart
    - apt-get install -y salt-formula-*
-   - rm -rf /srv/salt/reclass/classes/service
-   - ln -s /usr/share/salt-formulas/reclass/service /srv/salt/reclass/classes/service
+   - for f in $(ls -1 /usr/share/salt-formulas/reclass/service); do ln -s /usr/share/salt-formulas/reclass/service/$f /srv/salt/reclass/classes/service/ || true; done
    - salt-call --timeout=180 test.ping
 
    ########################################################