From 44fb0d636a400beddbca3b14a422ed9aab595b6b Mon Sep 17 00:00:00 2001 From: Trapier Marshall Date: Wed, 27 Jun 2018 23:31:08 -0400 Subject: [PATCH] ucp support dump: include hostname and time Signed-off-by: Trapier Marshall --- datacenter/ucp/2.0/guides/support.md | 3 ++- datacenter/ucp/2.1/guides/get-support.md | 3 ++- .../2.2/guides/admin/install/architecture-specific-images.md | 3 ++- datacenter/ucp/2.2/guides/get-support.md | 3 ++- ee/get-support.md | 3 ++- ee/ucp/admin/install/architecture-specific-images.md | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/datacenter/ucp/2.0/guides/support.md b/datacenter/ucp/2.0/guides/support.md index ef26ca27b5..a5a96f2557 100644 --- a/datacenter/ucp/2.0/guides/support.md +++ b/datacenter/ucp/2.0/guides/support.md @@ -35,5 +35,6 @@ docker run --rm \ --name ucp \ -v /var/run/docker.sock:/var/run/docker.sock \ {{ page.docker_image }} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` diff --git a/datacenter/ucp/2.1/guides/get-support.md b/datacenter/ucp/2.1/guides/get-support.md index cd68b7a18b..ad7224c63f 100644 --- a/datacenter/ucp/2.1/guides/get-support.md +++ b/datacenter/ucp/2.1/guides/get-support.md @@ -35,7 +35,8 @@ docker run --rm \ --name ucp \ -v /var/run/docker.sock:/var/run/docker.sock \ {{ page.docker_image }} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` This support dump only contains logs for the node where you're running the diff --git a/datacenter/ucp/2.2/guides/admin/install/architecture-specific-images.md b/datacenter/ucp/2.2/guides/admin/install/architecture-specific-images.md index e23709d053..552abf1191 100644 --- a/datacenter/ucp/2.2/guides/admin/install/architecture-specific-images.md +++ b/datacenter/ucp/2.2/guides/admin/install/architecture-specific-images.md @@ -24,7 +24,8 @@ docker container run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ --log-driver none \ {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }}${_ARCH} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` In this example, the environment variable is named `_ARCH`, but you can use any diff --git a/datacenter/ucp/2.2/guides/get-support.md b/datacenter/ucp/2.2/guides/get-support.md index e654c3559a..dcb0a870a7 100644 --- a/datacenter/ucp/2.2/guides/get-support.md +++ b/datacenter/ucp/2.2/guides/get-support.md @@ -39,7 +39,8 @@ docker container run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ --log-driver none \ {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` This support dump only contains logs for the node where you're running the diff --git a/ee/get-support.md b/ee/get-support.md index 9367c9883c..b64486e6eb 100644 --- a/ee/get-support.md +++ b/ee/get-support.md @@ -37,7 +37,8 @@ docker container run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ --log-driver none \ {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` This support dump only contains logs for the node where you're running the diff --git a/ee/ucp/admin/install/architecture-specific-images.md b/ee/ucp/admin/install/architecture-specific-images.md index faa52dbf79..f79cc97687 100644 --- a/ee/ucp/admin/install/architecture-specific-images.md +++ b/ee/ucp/admin/install/architecture-specific-images.md @@ -26,7 +26,8 @@ docker container run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ --log-driver none \ {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }}${_ARCH} \ - support > docker-support.tgz + support > \ + docker-support-${HOSTNAME}-$(date +%Y%m%d-%H_%M_%S).tgz ``` In this example, the environment variable is named `_ARCH`, but you can use any