mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
fix(cli): remove the --arch flag
KVM runs only the host architecture, so the flag could not mean what it suggested: a mismatched value downloaded a foreign rootfs that extracted cleanly and died at boot with a cryptic guest-side exec error. The flag's real job, picking the image variant to fetch, is the library's; RunOptions.arch keeps that role and an empty value still resolves to the host architecture.
This commit is contained in:
1 parent
29cd6af609
commit
74c3744d39
2 files changed
-6
No files matched your search
@@ -46,9 +46,6 @@ pub struct RunArgs {
|
||||
/// Guest environment KEY=VALUE (repeatable)
|
||||
#[arg(short = 'e', long = "env")]
|
||||
pub env: Vec<String>,
|
||||
/// Target architecture; the host architecture when omitted
|
||||
#[arg(short = 'a', long)]
|
||||
pub arch: Option<String>,
|
||||
/// Suppress console noise
|
||||
#[arg(long)]
|
||||
pub quiet: bool,
|
||||
|
||||
Reference in new issue
Block a user