1osinfo-install-script(1)           Libosinfo          osinfo-install-script(1)
2
3
4

NAME

6       osinfo-install-script - generate a script for automated installation
7

SYNOPSIS

9       osinfo-install-script [OPTIONS...] MEDIA-FILE|OS-ID
10

DESCRIPTION

12       Generate a script suitable for performing an automated installation of
13       "MEDIA_FILE" or "OS-ID". "MEDIA_FILE" should be a path to an installer
14       or live media (typically an ISO file). "OS-ID" should be a URI
15       identifying the operating system, or its short ID.
16
17       By default a script will be generated for a "JEOS" style install.
18

OPTIONS

20       --profile=NAME
21               Choose the installation script profile. Defaults to "jeos", but
22               can also be "desktop", or a site specific profile name
23
24       --installation-source=NAME
25               Set the installation source to be used with the installation
26               script. Defaults to "media", but can also be "network".
27
28       --config=key=value
29               Set the configuration parameter "key" to "value".
30
31       --config-file=config-file
32               Set the configurations parameters according to the config-file
33               passed.
34
35               Note that use of --config-file is strongly recommended if the
36               user or admin passwords need to be set. Providing passwords
37               directly using --config= is insecure as the password is visible
38               to all processes and users on the same host.
39

CONFIGURATION KEYS

41       The following configuration keys are available
42
43       "hardware-arch"
44               The hardware architecture
45
46       "l10n-timezone"
47               The local timezone
48
49       "l10n-keyboard"
50               The local keyboard layout
51
52       "l10n-language"
53               The local language
54
55       "admin-password"
56               The administrator password This option has been deprecated, use
57               --config-file for setting the admin password.
58
59       "user-password"
60               The user password This option has been deprecated, use
61               --config-file for setting the user password.
62
63       "user-login"
64               The user login name
65
66       "user-realname"
67               The user real name
68
69       "user-autologin"
70               Whether to automatically login the user
71
72       "user-admin"
73               Whether to give the user administrative privileges
74
75       "reg-product-key"
76               The software registration key
77
78       "reg-login"
79               The software registration user login
80
81       "reg-password"
82               The software registration user password
83

CONFIGURATION FILE FORMAT

85       The configuration file must consist in a file which contains a
86       "install-script" group and, under this group, "key"="value" pairs, as
87       shown below:
88
89         [install-script]
90         l10n-timezone=GMT
91         l10n-keyboard=uk
92         l10n-language=en_GB
93         admin-password=123456
94         user-login=berrange
95         user-password=123456
96         user-realname="Daniel P Berrange"
97

EXAMPLE USAGE

99       The following usages generate a Fedora 30 kickstart script:
100
101         # osinfo-install-script \
102                --profile jeos \
103                --config-file /path/to/config/file \
104                fedora30
105
106         # osinfo-install-script \
107                --profile jeos \
108                --config l10n-timezone=GMT \
109                --config l10n-keyboard=uk \
110                --config l10n-language=en_GB \
111                --config admin-password=123456 \
112                --config user-login=berrange \
113                --config user-password=123456 \
114                --config user-realname="Daniel P Berrange" \
115                fedora30
116

EXIT STATUS

118       The exit status will be 0 if an install script is generated, or 1 on
119       error
120

AUTHORS

122       Daniel P. Berrange <berrange@redhat.com>
123
125       Copyright (C) 2012 Red Hat, Inc.
126

LICENSE

128       "osinfo-install-script" is distributed under the termsof the GNU LGPL
129       v2 license. This is free software; see the source for copying
130       conditions.  There is NO warranty; not even for MERCHANTABILITY or
131       FITNESS FOR A PARTICULAR PURPOSE
132
133
134
135libosinfo-1.11.0                  2023-10-27          osinfo-install-script(1)
Impressum