Fix syntax errors with custom installs #65
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
not a bug
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DiamantTh/installimage!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit gracefully fixes syntax errors for custom installations. It allows the install image script to continue as expected.
I tested this on my hetzner dedicated server inside the rescue system. It works as expected. I created a testing environment to successfully do this.
Side Note:
cut -d "-" -f 2will not cut anything, if the image file doesn't contain a version. I checked for thetarkeyword to determine this. I used a wildcard that will work more frequently. Checkingh.net.tar.gzis no longer required.Please use the correct naming scheme for your images. This code path is likely to be removed soonish.
https://docs.hetzner.com/robot/dedicated-server/operating-systems/installing-custom-images/#install-older-linux-images-using-the-installimage-script
Pull request closed