Affects Version/s: None
Fix Version/s: None
Today we can modify these configuration items using mender-artifact modify:
For evaluation and testing purposes it is very beneficial to enable mender-artifact modify to modify any file within the disk image (.sdimg) or Mender Artifact (.mender). In particular, the tutorial for physical devices require to update the network configuration:
- Append entries to /etc/hosts
- Replace file /etc/systemd/network/eth.network
It would drastically simplify this getting started guide if these two items were supported directly in mender-artifact modify.
A simple user interface to this would be to allow the user to run any command that reads or writes to the root file system. For example:
Another option is to run a command that produces some output and explicitly specify a file that this output should go into; however this might be a bit more complicated (may need to support append and set to file, for example).
- Any file in the rootfs can be modified
- The referenced documentation is simplified