summaryrefslogtreecommitdiffhomepage
path: root/runsc/test
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-10-11 14:28:15 -0700
committerShentubot <shentubot@google.com>2018-10-11 14:29:37 -0700
commite68d86e1bd47f7905e4452f7ce0e04e683561f85 (patch)
treef5e9ff902d3efbee1c33c9f2d5064f57cde977d2 /runsc/test
parent96c68b36f67355295339e8039712b28d272e083e (diff)
Make debug log file name configurable
This is a breaking change if you're using --debug-log-dir. The fix is to replace it with --debug-log and add a '/' at the end: --debug-log-dir=/tmp/runsc ==> --debug-log=/tmp/runsc/ PiperOrigin-RevId: 216761212 Change-Id: I244270a0a522298c48115719fa08dad55e34ade1
Diffstat (limited to 'runsc/test')
-rwxr-xr-xrunsc/test/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/test/install.sh b/runsc/test/install.sh
index c110d96f9..c239588d4 100755
--- a/runsc/test/install.sh
+++ b/runsc/test/install.sh
@@ -75,7 +75,7 @@ if [[ ${uninstall} == 0 ]]; then
mkdir -p "${logdir}"
sudo -n chmod a+wx "${logdir}"
- declare -r args="--debug-log-dir "${logdir}" --debug --strace --log-packets"
+ declare -r args="--debug-log '${logdir}/' --debug --strace --log-packets"
sudo -n "${dockercfg}" runtime-add "${runtime}" "${runsc}" ${args}
sudo -n "${dockercfg}" runtime-add "${runtime}"-kvm "${runsc}" --platform=kvm ${args}
sudo -n "${dockercfg}" runtime-add "${runtime}"-hostnet "${runsc}" --network=host ${args}