osinfo-install-script(1) | Libosinfo | osinfo-install-script(1) |
osinfo-install-script - generate a script for automated installation
osinfo-install-script [OPTIONS...] MEDIA-FILE|OS-ID
Generate 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). "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.
Note that use of --config-file is 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.
The following configuration keys are available
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"
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
The exit status will be 0 if an install script is generated, or 1 on error
Daniel P. Berrange <berrange@redhat.com>
Copyright (C) 2012 Red Hat, Inc.
"osinfo-install-script" is distributed under the termsof 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
2022-08-02 | libosinfo-1.10.0 |