guest: set hostname from launch config

This commit is contained in:
Alex Zenla
2024-03-31 03:18:56 +00:00
parent 6cd8cc12db
commit 377b837db9
3 changed files with 20 additions and 1 deletions

View File

@ -29,6 +29,7 @@ pub struct LaunchNetwork {
#[derive(Serialize, Deserialize, Debug)]
pub struct LaunchInfo {
pub hostname: Option<String>,
pub network: Option<LaunchNetwork>,
pub env: HashMap<String, String>,
pub run: Option<Vec<String>>,