quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.56k stars 460 forks source link

feat: Add network override CLI option #1194

Closed popey closed 4 months ago

popey commented 4 months ago

Expected behavior

Sometimes I'd like to override the network behaviour of quickemu. Specifically I'd like to disconnect the network, or change to a bridged network.

Something like this:

quickemu --network none

or

quickemu --network bridged

Actual behavior

There's no option to do this.

Thanks!

flexiondotorg commented 4 months ago

From talking with you, I think all you really care about is configuring an offline state.

How does this sound? I'm just going to add a --offline argument, which overrides any network configuration with none.