testing: Make TNC scenarios agnostic to the actual Debian version
The scenarios will work with new or old base images as long as the version in use is included as product in the master data (src/libimcv/imv/data.sql).
This commit is contained in:
1 parent
93fac61da5
commit
8f9016b1e2
18 files changed
+52
-45
No files matched your search
@@ -7,6 +7,7 @@ dave::cat /etc/tnc_config
|
||||
carol::echo 0 > /proc/sys/net/ipv4/ip_forward
|
||||
dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
|
||||
alice::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql
|
||||
alice::sed -i "s:DEBIAN_VERSION:\`cat /etc/debian_version\`:" /etc/pts/data1.sql
|
||||
alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db
|
||||
alice::chgrp www-data /etc/pts/config.db; chmod g+w /etc/pts/config.db
|
||||
alice::/var/www/tnc/manage.py setpassword strongSwan strongSwan
|
||||
|
||||
Reference in new issue
Block a user