|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] standalone-reset: Check for TftpPxeDir
While patch: "README: Mention the / requirement in Tftp[Dir|Tmp]Dir"
we should also double-check that the directory actually exists.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
standalone-reset | 3 +++
1 file changed, 3 insertions(+)
diff --git a/standalone-reset b/standalone-reset
index c587e60..69a3226 100755
--- a/standalone-reset
+++ b/standalone-reset
@@ -101,6 +101,9 @@ else
tftptmp=`getconfig TftpTmpDir`
ensure_dir "$tftp$tftptmp"
+ tftpconfig=`getconfig TftpPxeDir`
+ ensure_dir "$tftp$tftpconfig"
+
dibase=`getconfig TftpDiBase`
suite=`getconfig DebianSuite`
diver=`getconfig_TftpDiVersion_suite $suite`
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |