Skip to content

Commit

Permalink
Merge pull request #5933 from ashwin9390/private/ashwin/CA-392685
Browse files Browse the repository at this point in the history
CA-392685:/tmp is mounted with type tmpfs which cause the files to be cleaned after host reboot in XS rawhide.
  • Loading branch information
liulinC authored Aug 14, 2024
2 parents aae22a0 + 9256139 commit fc89ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocaml/xapi/xapi_globs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Expand Down
2 changes: 1 addition & 1 deletion scripts/xe-reset-networking
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit fc89ed5

Please sign in to comment.