Releases: k0sproject/rig
Releases · k0sproject/rig
v0.4.0: Add exec.Sudo(h) exec option (#29)
API changes:
Sudo
Before:
h.Exec("sudo ps")
Now:
h.Exec("ps", exec.Sudo(h))
Upload
Before:
h.Upload(src, dst) // always used sudo to overwrite destination
After:
h.Upload(src, dst, exec.Sudo(h)) // now requires exec.Sudo(h) to overwrite non-user files
v0.3.24
v0.3.23: Add ArchLinux support (#33)
Signed-off-by: erdii <[email protected]>
v0.3.22
v0.3.21
v0.3.20: Add exec.Writer option for streaming output to an io.Writer (#28)
* Add exec.Writer option for streaming output to an io.Writer * Add a test for exec.Writer * Check errors