| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | nuageinit: fix update_sshd_config crash when file does not exist | Baptiste Daroussin | 2026-06-04 | 1 | -0/+7 |
| | | | | | | | | | | | | | Previously update_sshd_config() would assert-fail if sshd_config did not exist. Now it creates a new file with the given key/value. Also replace the fragile simultaneous r+ + temp file approach with a cleaner read-then-write pattern: read all lines into memory, modify as needed, then write to a temp file and rename. All assert() calls replaced with proper error handling via warnmsg(). Add test case for missing file creation. | ||||
| * | nuageinit: add update_sshd_config tests | Baptiste Daroussin | 2026-05-10 | 1 | -0/+73 |
