mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-09 01:14:20 +01:00
Merge pull request #6477 from openanolis/runtime-rs-hostname
bugfix: set hostname in CreateSandboxRequest
This commit is contained in:
@@ -216,7 +216,7 @@ impl Sandbox for VirtSandbox {
|
||||
let agent_config = self.agent.agent_config().await;
|
||||
let kernel_modules = KernelModule::set_kernel_modules(agent_config.kernel_modules)?;
|
||||
let req = agent::CreateSandboxRequest {
|
||||
hostname: "".to_string(),
|
||||
hostname: spec.hostname.clone(),
|
||||
dns,
|
||||
storages: self
|
||||
.resource_manager
|
||||
|
||||
Reference in New Issue
Block a user