Closed 1468ca0b-2a64-4fb4-8e52-ea5806644b4c closed 5 years ago
closed
Abandoned in favour of #1527.
A simple switch would be more convenient than the env variable. Sometimes I do need to rewrite the facts file.
changed the description
changed title from {-[XXX-WIP]-} scripts/h0: Don't run m0genfacts if H0_SKIP_FACTS is set to {+WIP:+} scripts/h0: Don't run m0genfacts if H0_SKIP_FACTS is set
marked as a Work In Progress
I meant some switch to
h0 init
to not run genfacts.
m0genfacts
is not run when the environment variable is set:
H0_SKIP_FACTS=1 h0 init
Unfortunately, the facts file is still removed by install-halon-services --uninstall
... I'll try to come up with a workaround.
No, it is not. I meant some switch to h0 init
to not run genfacts.
assigned to @andriy.tkachuk
Created by: vvv
@andriytk I'm not sure if this is what you need. Can you check please?
Note that /etc/halon/
is deleted (by install-halon-services --uninstall
) with no regard to H0_SKIP_FACTS
variable.
Created by: vvv