diff --git a/ocaml/xapi/xapi_globs.ml b/ocaml/xapi/xapi_globs.ml index f52dd8a2709..cdd6b8c16bb 100644 --- a/ocaml/xapi/xapi_globs.ml +++ b/ocaml/xapi/xapi_globs.ml @@ -639,7 +639,7 @@ let metrics_prefix_mem_vms = "xcp-rrdd-mem_vms" let metrics_prefix_pvs_proxy = "pvsproxy-" (** Path to trigger file for Network Reset. *) -let network_reset_trigger = "/tmp/network-reset" +let network_reset_trigger = "/var/tmp/network-reset" let first_boot_dir = "/etc/firstboot.d/" diff --git a/scripts/xe-reset-networking b/scripts/xe-reset-networking index 38f676a5aaa..a5bd437f9d3 100755 --- a/scripts/xe-reset-networking +++ b/scripts/xe-reset-networking @@ -24,7 +24,7 @@ from optparse import OptionParser pool_conf = '@ETCXENDIR@/pool.conf' inventory_file = '@INVENTORY@' management_conf = '/etc/firstboot.d/data/management.conf' -network_reset = '/tmp/network-reset' +network_reset = '/var/tmp/network-reset' def read_dict_file(fname): f = open(fname, 'r')