I’m finding it a bit cumbersome to write scripts in a VM, then copy them to dom0 each time I want to test the script.
I could code direct in dom0 using nano, but that takes away most the functionality of a code editor like Visual Studio Code. I don’t think it would be wise to install Visual Studio Code in dome0.
Other than nano, what else are you using to write/edit scripts that run in dom0? Whats your process to code/test efficiently for dom0?
Using vi in dom0, but also run shellcheck before execution.
Since I do a lot of custom lvm scripting: If any part is (or could be) non-reversible/damaging, I’ll model that part in a domU script first, installing any packages I need first, then move it to dom0.