-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
customization templates: removed outdated text from user_commands.bas…
…h; added user-commands-before.bash
- Loading branch information
1 parent
adf09a5
commit 177c423
Showing
2 changed files
with
21 additions
and
19 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
airootfs/root/endeavouros-skel-liveuser/src/etc/skel/user-commands-before.bash
This file contains 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# | ||
# A template file for configuring the calamares installer. | ||
# This will be called before starting calamares. | ||
# The chosen install mode (offline or online) is the only parameter. | ||
# | ||
# To use this, add your required commands below. | ||
# You may also "uncomment" any of the examples below, if needed. | ||
|
||
install_mode="$1" # value: 'offline' or 'online' | ||
|
||
## Example 1: set KDE-Desktop as default. | ||
# printf "\ndefault: KDE-Desktop\n" >> /etc/calamares/modules/packagechooser.conf | ||
|
||
## Example 2: change the default filesystem from ext4 to btrfs in virtualbox VM. | ||
# if [ "$(device-info --virtualbox)" = "yes" ] ; then | ||
# sed -i /etc/calamares/modules/partition.conf -E \ | ||
# -e 's|^defaultFileSystemType:.*|defaultFileSystemType: "btrfs"|' \ | ||
# -e 's|^(availableFileSystemTypes:.*)"ext4","btrfs"|\1"btrfs","ext4"|' | ||
# fi |
This file contains 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