osinfo-install-script(1)
π NAME π
okay so bestie, meet osinfo-install-script(1) β a Libosinfo icon whose whole personality is generating a script for automated installation. β¨ It's giving main character energy, lowkey, and it's literally here to let the installer cook but make it scripted.
π¦ SYNOPSIS π¦
the whole call shape is:
osinfo-install-script [OPTIONS...] MEDIA-FILE|OS-ID
πΈ DESCRIPTION πΈ
okay so this cutie generates a script suitable for performing an automated installation of MEDIA_FILE or OS-ID. π
MEDIA_FILE should be a path to an installer or live media (typically an ISO file). No cap. OS-ID should be a URI identifying the operating system, or its short ID. π«Ά
By default a script will be generated for a JEOS style install. periodt.
β¨ OPTIONS β¨
--profile=NAMEβ choose the installation script profile. Defaults tojeos, but can also bedesktop, or a site specific profile name. π--installation-source=NAMEβ set the installation source to be used with the installation script. Defaults tomedia, but can also benetwork. π--config=key=valueβ set the configuration parameterkeytovalue. π--config-file=config-fileβ set the configurations parameters according to theconfig-filepassed. π§
π¨ Note that use of--config-fileis strongly recommended if the user or admin passwords need to be set. Providing passwords directly using--config=is insecure as the password is visible to all processes and users on the same host. Please don't do the insecure thing, bestie.
π§ CONFIGURATION KEYS π§
The following configuration keys are available:
hardware-archβ the hardware architecture.l10n-timezoneβ the local timezone.l10n-keyboardβ the local keyboard layout.l10n-languageβ the local language.admin-passwordβ the administrator password. This option has been deprecated, use--config-filefor setting the admin password. π¨user-passwordβ the user password. This option has been deprecated, use--config-filefor setting the user password. π¨user-loginβ the user login name.user-realnameβ the user real name.user-autologinβ whether to automatically login the user.user-adminβ whether to give the user administrative privileges.reg-product-keyβ the software registration key.reg-loginβ the software registration user login.reg-passwordβ the software registration user password.
π CONFIGURATION FILE FORMAT π
okay so the configuration file must consist in a file which contains a install-script group and, under this group, key=value pairs, as shown below: π
[install-script]
l10n-timezone=GMT
l10n-keyboard=uk
l10n-language=en_GB
admin-password=123456
user-login=berrange
user-password=123456
user-realname="Daniel P Berrange"
π₯ EXAMPLE USAGE π₯
The following usages generate a Fedora 30 kickstart script: πΈ
# osinfo-install-script \
--profile jeos \
--config-file /path/to/config/file \
fedora30
# osinfo-install-script \
--profile jeos \
--config l10n-timezone=GMT \
--config l10n-keyboard=uk \
--config l10n-language=en_GB \
--config admin-password=123456 \
--config user-login=berrange \
--config user-password=123456 \
--config user-realname="Daniel P Berrange" \
fedora30
π EXIT STATUS π
vibe check: the exit status will be 0 if an install script is generated, or 1 on error. Slay when it works, sad little error vibe when it doesn't. π«Ά
π AUTHORS π
Daniel P. Berrange <berrange@redhat.com> β iconic author moment. β¨
π COPYRIGHT π
Copyright (C) 2012 Red Hat, Inc. β yes, that's the whole copyright line, bestie. π
π LICENSE π
osinfo-install-script is distributed under the terms of the GNU LGPL v2 license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Read that last part again: NO warranty, no cap. π
mwah π β brought to you by libosinfo-1.12.0, dated 2024-12-02, bestie. This has been osinfo-install-script(1), and it's a whole vibe. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: libosinfo 1.12.0-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libosinfo 1.12.0-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libosinfo 1.12.0-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libosinfo 1.12.0-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms