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

Modifications to CentOS build #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jtopjian
Copy link

@jtopjian jtopjian commented Jul 8, 2013

Hello,

These are some modifications I made to the CentOS build components in order to satisfy some requirements I had. Most of these requirements involve ensuring snapshots are correctly created:

  1. udev must not add any rules about the virtual NIC or snapshots will be launched with an incorrect NIC, such as eth1 when it should be eth0.
  2. Resizing of the root partition must happen on each boot so a snapshot can resize itself.

Both of these can be manually addressed by the user post-image deployment, but I feel that's not usually the user's responsibility.

One final change I made was to swap out the fdisk portion of the root partition resizing with growpart.

Please let me know if you have any questions, comments, or suggestions to achieve these goals better. I don't expect this pull to be merged -- this is more to just share the changes I made.

Thanks,
Joe

jtopjian added 2 commits July 2, 2013 12:05
Changed the script to now use growpart to resize the root
partition. Also made the resizing actions run upon each boot
rather than just the first boot to account for snapshotting.
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