1OSINFO-INSTALL-SCRIPT.C(1)  Virtualization Support  OSINFO-INSTALL-SCRIPT.C(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] l10n-timezone=GMT l10n-keyboard=uk l10n-language=en_GB
90       admin-password=123456 user-login=berrange user-password=123456
91       user-realname="Daniel P Berrange"
92

EXAMPLE USAGE

94       The following usages generates a Fedora 16 kickstart script
95
96         # osinfo-install-script \
97                --profile jeos \
98                --config-file /path/to/config/file \
99                fedora16
100
101         # osinfo-install-script \
102                --profile jeos \
103                --config l10n-timezone=GMT \
104                --config l10n-keyboard=uk \
105                --config l10n-language=en_GB \
106                --config admin-password=123456 \
107                --config user-login=berrange \
108                --config user-password=123456 \
109                --config user-realname="Daniel P Berrange" \
110                fedora16
111

EXIT STATUS

113       The exit status will be 0 if an install script is generated, or 1 on
114       error
115

AUTHORS

117       Daniel P. Berrange <berrange@redhat.com>
118
120       Copyright (C) 2012 Red Hat, Inc.
121

LICENSE

123       "osinfo-install-script" is distributed under the termsof the GNU LGPL
124       v2 license. This is free software; see the source for copying
125       conditions.  There is NO warranty; not even for MERCHANTABILITY or
126       FITNESS FOR A PARTICULAR PURPOSE
127
128
129
130libosinfo-1.6.0                   2019-11-08        OSINFO-INSTALL-SCRIPT.C(1)
Impressum