Cleanup of main entry script#11
Merged
Merged
Conversation
Member
|
@vidvidex I compared the f4f and mrs installation scripts, and they are almost identical. I would say that f4f is more up to date because it runs "sudo apt update" before installing any packages. Wouldn’t it make more sense to have a single script that lets the user choose which configuration to use? |
* Fix netplan config script to work when there is no eth or wlan interfaces
Before it would always append
ethernets:
or
wifis:
to the config file, even if there are such interfaces found, resulting in a syntax error when applying
* Disable network manager immediately when configuring networking
* Install netplan if not installed yet
* Copilot fixes
* Migrate to newer default gateway syntax
gateway4 is deprecated
* Reformat
* Add default gateway prompt for eth
* Ensure netplan config file has correct permissions
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Ask for DNS server on eth
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
As written in the wiki. The script only deletes empty directories (to prevent accidentally deleting important files)
Collaborator
Author
|
New changes:
|
spurnvoj
approved these changes
Jun 2, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Reformat of main entry files and a check if git is installed before attempting to install it