How do I edit the influx conf file through CLI on a VM? I am on an ubuntu VM and would like to enable flux and would like to change contents of the conf file to enable flux.
I used vim to change the contents using command : sudo vi /etc/influxdb/influxdb.conf
but whenever I run influxd config again- it has flux set to false again. It only shows changed content when I run sudo vi /etc/influxdb/influxdb.conf