summaryrefslogtreecommitdiffstats
path: root/daemon/lua/trust_anchors.test/regen.sh
blob: 9e7dac18cae412ad7ddc4833d1ff93bde2a97d1c (plain)
1
2
3
# SPDX-License-Identifier: GPL-3.0-or-later
for F in *.xml; do sed -i "s/TrustAnchor id=\"[^\"]*\"/TrustAnchor id=\"$(uuidgen | tr '[[:lower:]]' '[[:upper:]]')\"/" $F; done
for F in *.xml; do sed -i "s#source=\"[^\"]*\"#source=\"https://localhost/$F\"#" $F; done