feat: add --offline argument to force an offline configuration. close #1194
This commit is contained in:
parent
d01011a39c
commit
dc30cc51b1
4
quickemu
4
quickemu
|
@ -1421,6 +1421,7 @@ function usage() {
|
|||
echo " --fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)"
|
||||
echo " --ignore-msrs-always : Configure KVM to always ignore unhandled machine-specific registers"
|
||||
echo " --kill : Kill the VM process if it is running"
|
||||
echo " --offline : Override all network settings and start the VM offline"
|
||||
echo " --screen <screen> : Use specified screen to determine the window size."
|
||||
echo " --screenpct <percent> : Percent of fullscreen for VM if --fullscreen is not specified."
|
||||
echo " --shortcut : Create a desktop shortcut"
|
||||
|
@ -1690,6 +1691,9 @@ else
|
|||
-kill|--kill)
|
||||
KILL_VM=1
|
||||
shift;;
|
||||
-offline|--offline)
|
||||
network="none"
|
||||
shift;;
|
||||
-screen|--screen)
|
||||
SCREEN="${2}"
|
||||
shift
|
||||
|
|
Loading…
Reference in New Issue