feat!: Added command to serve config files over tftp

This is a breaking change as the return type of cluster.nodes has
changed, resulting in old templates potentially no longer working.
This commit is contained in:
2026-10-04 05:53:45 +02:00
parent 5a54283248
commit b728cd7d22
6 changed files with 100 additions and 18 deletions
+4
View File
@@ -178,6 +178,10 @@ impl Node {
Node { patches, ..node }
}
pub fn hostname(&self) -> &str {
&self.hostname
}
pub async fn config(&self, cluster: &Cluster) -> String {
let mut command = Command::new("talosctl");
command.args([