Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added createdisk.sh to automate qemu-img creation and basic.sh config #326

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

Conversation

lmlsna
Copy link

@lmlsna lmlsna commented Oct 2, 2020

I wrote a createdisk.sh script to automate the qemu-img image creation, with size, name, and type flags (-s, -f, -b). It also does a few sanity checks like making sure the image doesn't already exist, that the disk has enough space to be created etc.

It also (optionally) will modify the basic.sh script to add the relevant config lines. It will also detect if conflicting lines have already been added and either overwrite them or not.

This could probably all be merged into the jumpstart.sh script, but I though I would keep them separate for this pull.

I also updated the README to reflect the script usage (leaving the manual instructions as well).

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

Successfully merging this pull request may close these issues.

1 participant