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:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user