-
Notifications
You must be signed in to change notification settings - Fork 45
Add alar2 to repair-script-library #13
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
Closed
Closed
Changes from all commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
060e8bb
First commit for testing
malachma 0368b83
Some further validations
malachma 47567b4
Some further validations
malachma b37d5b2
deleted files
malachma c5dd34c
Logger enabled again for test
malachma 406e00a
Removed the init.sh line. This is not needd for this file
malachma 39f6dca
Functionality is finalized. Ready for further verifications
malachma 607948c
changed the copy operation to use fs_extra instead
malachma e1a58f6
just a minor edit
malachma efaa6f5
Removed the crate copy_dir
malachma b8c966d
Code improvements applied
malachma 3052091
Script missed the comand-line argument paramter
malachma 96d2872
alar-fki replaced by alar2
malachma 1eb8aac
Removed unneccesary lines and added an exit code for alar2
malachma 0c45288
Added exit command for alar2
malachma 921cf78
Added exit command for alar2
malachma 66c3d48
Added a description to the file
malachma bd06b10
Action script output is made availabel to the calling process
malachma b176f9e
New build added
malachma 6fef01a
alar2 needs to be made executable
malachma 9be14a3
replaced remove_file with remove_dir_all the previous was incorrect
malachma 7a81794
New build for alar2
malachma 47e01d5
log_debug prints to stderr
malachma 141fd64
log_debug prints to stderr
malachma 6b2f288
Mount info printed to stderr
malachma fc8e985
Sanitized the output information
malachma 57d1414
Sanitized the output information
malachma cb09c67
Sanitized the output information
malachma 125f2c2
Sanitized the output information
malachma 8e9b94a
New build
malachma 0f6e67b
Added remove_var for each match leg as we need to be sure the env is …
malachma 458682b
new build of alar2 md5sum: 49302bfe58759d840e5df56baa59f52e
malachma 64aea13
small minor changes
malachma 17c5139
exit returns the error state from alar2
malachma 4f92fa1
added build commands to the script. alar2 will be build on the repair…
malachma 2074a35
added build commands to the script. alar2 will be build on the repair…
malachma 3141757
errors to /dev/null
malachma 8708509
surpress warnings
malachma 0e222e6
Merge branch 'master' into alar2-test
malachma 6481f3d
removed garbage
malachma 7997856
removed garbage
malachma 393ffb8
remobe bin dir
malachma 4c39399
removed debug info
malachma 9f418f5
changed log_debug to log_info
malachma ad71b8a
Add missing directory name, No exit in this function
malachma 8baaa06
replace eprintln with println
malachma 9ca76aa
set quiet for apt
malachma eb63aaa
change to apt-get
malachma 512b333
added info line
malachma 3e445be
set quiet option for cargo
malachma 411f986
replaced run_fun, for chroot, with Command for a test
malachma 26041ea
menu not needed
malachma 8fe0b5a
Used constants isnted of strings
malachma 9f410e6
adding vendor for speedup
malachma b17b5d2
changed source to vendor
malachma ce58929
replaced chmod functionality with uapi::chmod
malachma 47bb565
removed softlink changed copy part
malachma e733c37
vendoring has no great effect
malachma b2e4108
vendoring has no great effect
malachma a8120c5
target
malachma 79d86b8
target
malachma 2aa029d
Added read flag to chmod
malachma e7f74f8
Added uapi create
malachma 3d07b1b
target
malachma f1bce5f
target
malachma 7f76bf1
minor
malachma be42792
new target
malachma af3b995
linux-alar-fki not needed anymore
malachma 0ec8775
old alar dir removed
malachma 984d39d
adding back alar. Only for backward compatibility
malachma 25b0cba
added back to use the old alar version
malachma 66d6f9d
Readded linux-alar-fki to use the old alar version. Description exten…
malachma 29ac479
target removed. A complete build will be performed on the VM only
malachma a7ebc84
Spacing and spelling corrected
malachma 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,10 +34,15 @@ | |
| "path" : "src/windows/win-ignoreAllFailures.ps1", | ||
| "description" : "Ignore errors if there is a failed boot, failed shutdown, or failed checkpoint. The computer will attempt to boot normally after an error occurs." | ||
| }, | ||
| { | ||
| "id" : "linux-alar-fki", | ||
| "path" : "src/linux/linux-alar-fki.sh", | ||
| "description" : "alar-fki allows to recover a failed VM. Three recover scenarios are possible: fstab, initrd and kernel. NOTE: use option --run-on-repair. Se the docu for more details: https://github.com/Azure/repair-script-library/blob/master/src/linux/common/helpers/alar/README.md" | ||
| { | ||
| "id" : "linux-alar-fki", | ||
| "path" : "src/linux/linux-alar-fki.sh", | ||
| "description" : "DEPRECATED: It is recommended to use linux-alar2 instead. alar-fki allows to recover a failed VM. Three recover scenarios are possible: fstab, initrd and kernel. NOTE: use option --run-on-repair. See the docu for more details: https://github.com/Azure/repair-script-library/blob/master/src/linux/common/helpers/alar/README.md" | ||
| }, | ||
| { | ||
| "id" : "linux-alar2", | ||
| "path" : "src/linux/linux-alar2.sh", | ||
| "description" : "alar2 allows to recover a failed VM. Various actions are available like: fstab, initrd and kernel. NOTE: use option --run-on-repair. See the docu for more details: https://github.com/Azure/repair-script-library/blob/master/src/linux/common/helpers/alar2/README.md. Please be aware that alar2 needs to be build on the recovery VM first. This takes about 2min. Please be patient." | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| }, | ||
| { | ||
| "id" : "win-enable-nested-hyperv", | ||
|
|
||
Oops, something went wrong.
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.