diff options
| author | Simon Rettberg | 2016-01-08 11:49:04 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-01-08 11:49:04 +0100 |
| commit | dc5e7e43039c05d742875fc6b74801e4788158d8 (patch) | |
| tree | 3d8e7887d9cee0710149f3a3672248b70dfeca82 /remote | |
| parent | [busybox] Add applet: fuser (diff) | |
| download | tm-scripts-dc5e7e43039c05d742875fc6b74801e4788158d8.tar.gz tm-scripts-dc5e7e43039c05d742875fc6b74801e4788158d8.tar.xz tm-scripts-dc5e7e43039c05d742875fc6b74801e4788158d8.zip | |
[run-virt] TMPDIR is now set globally in set_runvirt_variables.inc
Didn't really make sense in detect_legacy. TMPDIR was only used in one
file in the vmware module. Now it's being used in several places, but
there's still a lot more occurences that should be unified.
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/modules/run-virt/data/opt/openslx/scripts/includes/detect_legacy.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/detect_legacy.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/detect_legacy.inc index b71d43fc..11a21832 100644 --- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/detect_legacy.inc +++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/detect_legacy.inc @@ -7,13 +7,6 @@ writelog "Detecting current/legacy mode ..." -TMPDIR=$(mktemp -d -p /tmp/virt) -ERR=$? -if "$ERR"; then - writelog "Could not mkdir tempdir, using /tmp." - TMPDIR=/tmp -fi - # First, let's try to extract an imguuid from xmlfile: IMGUUID=$(grep -io '<uuid param=.*"' "${xmlfile}" | sed -e "s/&.*;/; /g" | awk -F '"' '{ print $2 }') |
