-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Detect kernel version before swap file creation #428
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a56ef54
Detect kernel version before swap file creation
otubo f2eae6a
Changing into a tuple and fixing pycodestyle
otubo 73f97e9
fixing pycodestyle: Missing whitespace
otubo c746b03
Replace regex by os function calls
otubo e5fc9d4
adding new line to avoid flake8 complain
otubo 183c5ae
adding @lru_cache() as the kernel version is unlikely to change durin…
otubo bf109a0
Update cloudinit/config/cc_mounts.py
otubo ec1f08b
Adding tests for util.kernel_version() new function
otubo d2cd4b4
Adding test to check swap file creation method
otubo d01111b
Wrong mock wasn't actually testing kernel_version
otubo 4f6b9fc
Mocking os.uname() should set release and not return_value
otubo d33cea3
Wrapping test_kernel_version() into class
otubo 52f1ca5
Splitting test_swap_creation_method() test into 3
otubo a2527be
Moving swap tests from TestFstabHandling to TestSwapFileCreation
otubo 8082a78
removing blank line again
otubo 474c47b
Merge branch 'master' into detect-kernel-version
OddBloke a521f6c
Removing fstab writing from tests
otubo 2a8239c
Adding an additional test for the case of fallocate on xfs
otubo 97801c7
Merge branch 'master' into detect-kernel-version
otubo 9b0ac2c
fixing merge, removing pytest import (done by my patch) and removing …
otubo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.