Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

scripts: add more options in qemu script #733

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cristiklein
Copy link

scripts: add more options in qemu script

I frequently need to change the number of processors, memory and VM name. This change allows the user to specify these options when booting CoreOS from the qemu script.

I frequently need to change the number of processors, memory and VM name. This change allows the user to specify these options when booting CoreOS from the qemu script.
@euank
Copy link
Contributor

euank commented Aug 31, 2017

Trailing arguments are supported and added to the qemu invocation.

Using something like:

$ ./coreos_production_qemu.sh -name asdf -smp cpus=10

will change the name, number of processors, etc.

I'm not sure we need this mechanism as well since it doesn't hide a significant amount of abstraction (as opposed to the -i flag, which does).

@cristiklein
Copy link
Author

I see your point. There is, however, a minor downside to the solution you proposed, in that the command-line of qemu (e.g., ps -AF) looks confusing.

Would you be more open to an -image option to allow pointing to a COW-image of CoreOS instead of the one shipped by default?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants