mod topology; use crate::topology::{get_inventory, get_topology}; use harmony::modules::okd::ipxe::OkdIpxeScore; #[tokio::main] async fn main() { let inventory = get_inventory(); let topology = get_topology().await; let kickstart_filename = "inventory.kickstart".to_string(); let cluster_pubkey_filename = "cluster_ssh_key.pub".to_string(); let harmony_inventory_agent = "harmony_inventory_agent".to_string(); let ipxe_score = OkdIpxeScore { kickstart_filename, harmony_inventory_agent, cluster_pubkey_filename, }; harmony_cli::run(inventory, topology, vec![Box::new(ipxe_score)], None) .await .unwrap(); }