Comments (1)
You are correct. You would edit the preseed file in order to:
- Configure the keyboard
- Configure the time zone
- Configure the location
- Configure the new user, password, and groups
Reference Automating the installation using preseeding for more information.
Here is an example.
-
Install the desired language packages.
(You will find these are already installed in the Live ISO).
apt install language-pack-pt language-pack-pt-base language-pack-gnome-pt language-pack-gnome-pt-base
-
Tell the Ubiquity installer to not remove your language packages.
Navigate to the Packages page.
Click (anywhere) on the list, and begin typing the word "language" to search for packages that begin with this word.
Uncheck the following four packages:
language-pack-pt
language-pack-pt-base
language-pack-gnome-pt
language-pack-gnome-pt-base
This will ensure that the installer does not remove your language packages. This is not strictly necessary, since we will select your language and locale in the preseed below (step 5), but it is a good measure nevertheless.
You will also notice that the English language packages are flagged (check-marked) to be automatically removed by the installer after installation of your customized OS (if English is not selected as your default language).
-
Edit the preseed configuration.
Navigate to the Options page, and select the Preseed tab.
Click on
/preseed/ubuntu.seed
in the left pane. -
Configure the default keyboard.
Add the following to the
/preseed/ubuntu.seed
file:# Disable automatic (interactive) keymap detection. d-i console-setup/ask_detect boolean false # Keyboard selection. d-i keyboard-configuration/xkb-keymap select us # Select a variant of the selected layout. d-i keyboard-configuration/xkb-keymap select us(dvorak) # d-i keyboard-configuration/toggle select No toggling
-
Configure the default language and locale
For this example, note that "pt" = Portuguese, and "BR" = Brazil.
Add the following to the
/preseed/ubuntu.seed
file:# Set language, country and locale. d-i debian-installer/language string pt d-i debian-installer/country string BR d-i debian-installer/locale string pt_BR.UTF-8 # Specify additional locales to be generated. d-i localechooser/supported-locales multiselect pt_BR.UTF-8 # Set keyboard layout. d-i keyboard-configuration/xkb-keymap select pt # Set time zone and region. d-i time/zone string America/Belem d-i debian-installer/region string pt_BR.UTF-8
Optionally, if you want multiple locales generated, separate them with commas as show here:
For this example, note that "fr" = French, and "CH" = Switzerland.
Add the following to the
/preseed/ubuntu.seed
file:# Specify additional locales to be generated. d-i localechooser/supported-locales multiselect pt_BR.UTF-8, fr_CH.UTF-8, en_US.UTF-8
Here are some references if you are configuring different languages or locales:
-
Configure the user, password, and group information.
Add the following to the
/preseed/ubuntu.seed
file:# Create a normal user account. d-i passwd/user-fullname string Thiago Boeira d-i passwd/username string ubuntu # User's password in clear text. d-i passwd/user-password password insecure d-i passwd/user-password-again password insecure # Override weak password warning. d-i user-setup/allow-password-weak boolean true # Add user to specific groups. # d-i passwd/user-default-groups string audio cdrom video d-i passwd/user-default-groups string adm cdrom sudo dip plugdev lpadmin lxd sambashare
from cubic.
Related Issues (20)
- How do I change Linux MInt's Start Menu Icon in my distribution? HOT 1
- How To Change The DE In The "Live Environment" HOT 1
- Ubuntu Server 22.04 Disable Subiquity Installer HOT 2
- The ubuntu(20.04.5) image containing ros1 made by Cubic deletes the ros1 function package HOT 6
- Can the zstd compression level settings be modified? HOT 3
- Compressed ISO used xz are security risk ? HOT 2
- Have problems if editing an Ubuntu noble ISO in an host Ubuntu Focal ? HOT 4
- Ubuntu 24.04 (beta) bootstrapper/installer seemingly crashes under install of live image
- Cubic reference removal from project HOT 4
- Any plans to make cubic properely support ubuntu 24.04? HOT 3
- Cubic breaks iso HOT 2
- Why can't I access the Typical and Minimal packages page? HOT 2
- Missing user after new install of Ubuntu 22.04 HOT 3
- How to customize the Plymouth Splash Screen on Ubuntu 24.04?
- Virtual environment state save HOT 1
- multi-user mode broken on 24.04 variants
- generated .iso doesn't boot once burnt to USB stick
- Cubic doesn't work together with autoinstall identity. HOT 1
- 24.04 Custom ISOs not reflecting snap removals / some installed app icons not displayed HOT 2
- Errors when install cubic on ubuntu 24.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubic.