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

Reduce Linux box size by not packing a swap partition gubbish #281

Merged
merged 1 commit into from
Oct 17, 2014
Merged

Reduce Linux box size by not packing a swap partition gubbish #281

merged 1 commit into from
Oct 17, 2014

Conversation

ceetav
Copy link
Contributor

@ceetav ceetav commented Oct 16, 2014

Current boxes are redistributed with the swap partition filled by gubbish -- if clean it the box size is reduced by 100-200 MB.
One more point that there also a little bit less chance of sensitive information leakage.

  • Whiteout swap partition for CentOS, Debian, Fedora, OpenSUSE, Oracle,
    RHEL, SLES, Ubuntu
  • FreeBSD has no support for blkid, left it as is

* Whiteout swap partition for CentOS, Debian, Fedora, OpenSUSE, Oracle,
  RHEL, SLES, Ubuntu
* FreeBSD has no support for blkid, left it as is
@ceetav ceetav changed the title Reduce Linux box size by not packing a swap partition Reduce Linux box size by not packing a swap partition gubbish Oct 16, 2014
@juliandunn
Copy link
Contributor

Seems sensible to me. Thanks! Guess we'll really have to rebuild all the boxes now.

juliandunn added a commit that referenced this pull request Oct 17, 2014
Reduce Linux box size by not packing a swap partition gubbish
@juliandunn juliandunn merged commit 86fb212 into chef:master Oct 17, 2014
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.

None yet

2 participants