Sun N1 Service Provisioning System User's Guide for OS Provisioning Plug-In 3.0

Component Variables for base_config Module

The variables described in the following list provide basic operating system configuration. These variables directly equate to the JET base_config module. In the list you see several variables that use the value of the targetable component. For purposes of the SuSe Linux Profile variables, the targetable component is the target host.

ClientArch_base_config

Description: Kernel architecture, such as x86. By default, this is set to the kernel architecture of the targetable component.

Default value: :[targetableComponent:kernel_arch]

ClientEther_base_config

Description: Ethernet MAC address. By default, this is set to the Ethernet MAC address of the targetable component.

Default value: :[targetableComponent:ethernet_mac_address]

ClientOSName_base_config

Description: Name of the OS to be provisioned.

Example: redhat

ClientOS_base_config

Description: Version of the OS to be provisioned.

Example: LinuxRedHat3.0_x86

products_base_config

Description: JET modules to provision.

Example: base_config spsra

client_allocation_base_config

Description: The mechanism used to build this client. By default, the options listed in /opt/jet/etc/jumpstart.conf are used. Leave the value blank unless you need to do something different from the default for this specific client.

productdir_base_config

Description: Path to the SuSe Linux distribution. To use the information from the jumpstart.conf file and the IP address of the JET server, leave this value blank. If your package files are not stored on the JET server, then provide an NFS-style path to the location of the packages.

patchdir_base_config

Description: Path to the patches you want to provision to the target host. If the patches you want to install are stored on the JET SuSe image server, leave this value blank. If the patches are not located on the JET SuSe image server, provide the absolute path to the location of these patches on an NFS-accessible system.

Default value: null

suse_media_base_config

Description: Location of the SuSe Linux product media.

pxelinux_console_base_config

Description: Console parameters that are passed to the PXE boot environment.

Example: ttyS0,9600

append_kernel_cmdline_base_config

Description: Additional command line options to pass to the kernel at PXE boot time.

nis_domain_base_config

Description: Name of the NIS domain.

nis_broadcast_base_config

Description: Specifies whether to broadcast name service data from the NIS server (yes/no).

Default value: no

nis_broken_server_base_config

Description: Corresponds to the nis_broken_server variable in the <nis> section for SuSe Linux installations (yes/no).

nis_local_only_base_config

Description: Corresponds to the nis_local_only variable in the <nis> section for SuSe Linux installations (yes/no).

nis_options_base_config

Description: Corresponds to the nis_options variable in the <nis> section for SuSe Linux installations (yes/no).

nis_servers_base_config

Description:. Space-separated list of NIS servers.

nis_start_autofs_base_config

Description: Corresponds to the start_autofs variable in the <nis> section for SuSe Linux installations (yes/no).

nis_start_nis_config

Description: Specifies whether to start the NIS service (yes/no).

Default value: no

nis_other_1_domain_base_config

Description: Specifies an additional NIS domain.

nis_other_1_broadcast_base_config

Description: Specifies whether to broadcast name service data from the additional NIS server (yes/no).

nis_other_1_servers_base_config

Description: Space-separated list that specifies additional NIS servers.

ldap_v2_base_config

Description: Specifies whether to use LDAP v2 authentication (true/false).

Default value: false

ldap_start_base_config

Description: Specifies whether to start the LDAP service (true/false).

Default value: false

ldap_server_base_config

Description: Name of the LDAP server.

ldap_basedn_base_config

Description: Base domain name for the LDAP server.

ldap_tls_base_config

Description: Specifies whether to use the Transport Layer Security protocol (TLS) for LDAP (true/false).

Default value: false

runlevel_base_config

Description: Specifies the run level for the target host.

Default value: 3

security_console_shutdown_base_config

Description: Specifies the shutdown behavior for the console.

Default value: reboot

security_cwd_in_root_path_base_config

Description: Specifies whether to allow cwd (change working directory) in the root path (yes/no).

Default value: no

security_cwd_in_user_path_base_config

Description: Specifies whether to allow cwd (change working directory) in the user's path (yes/no).

Default value: no

security_displaymanager_remote_access_base_config

Description: Enable remote access to the Displaymanager.

Default value: no

security_encryption_base_config

Description: Enable encryption in communications from the target host.

Default value: md5

security_fail_delay_base_config

Description: Specifies the time in seconds after each login attempt.

Default value: 1

security_faillog_enab_base_config

Description: Enable logging of failures in /var/log/faillog

Default value: yes

security_gid_max_base_config

Description: Maximum number group IDs

Default value: 60000

security_gid_min_base_config

Description: Minimum number of group IDs

Default value: 101

security_kdm_shutdown_base_config

Description: KDM shutdown

Default value: all

security_lastlog_enab_base_config

Description: lastlog enable

Default value: yes

security_obscure_checks_enab_base_config

Description: Enable obscure checks

Default value: no

security_pass_max_days_base_config

Description: Maximum number of days for lifespan of a password

Default value: 99999

security_pass_max_len_base_config

Description: Maximum length in characters of user passwords

Default value: 8

security_pass_min_days_base_config

Description: Minimum number of days for lifespan of user passwords

Default value: 0

security_pass_min_len_base_config

Description: Minimum length in characters of user passwords

Default value: 5

security_pass_warn_age_base_config

Description: Specifies the number of days left before a user password expires to warn the user

Default value: 7

security_passwd_use_crackilib_base_config

Description: Specifies whether to use the Cracklib utility to encrypt the password

Default value: no

security_permission_security_base_config

Description: Specifies the level of permission security

Default value: easy

security_run_updatedb_as_base_config

Description: Specifies the user to run the updatedb job

Default value: root

security_uid_max_base_config

Description: Maximum number of user IDs

Default value: 60000

security_uid_min_base_config

Description: Minimum number of user IDs

Default value: 500

users_base_config

Description: Specifies the root user

Default value: root

user_root_encrypted_base_config

Description:Specifies whether to pass an encrypted root password during the installation

Default value: true

user_root_password_base_config

Description: Encrypted root password

Default value: JgkyZIu7eRxPU

user_root_fullname_base_config

Description: Full name of the root user

user_root_gid_base_config

Description: Group ID for the root user

user_root_grouplist_base_config

Description: Space-separated list of additional groups of which the root user is a member

user_root_home_base_config

Description: Home directory for the root user

user_root_shell_base_config

Description: Default shell for the root user

user_root_uid_base_config

Description: User ID for the root user

x11_color_depth_base_config

Description: Color depth of the display device

x11_configure_x11_base_config

Description: Specifies whether to configure the X11 window system (true, false)

Default value: false

x11_start_x11_base_config

Description: Specifies whether to start the X11 windowing system (true, false)

Default value: false

x11_display_manager_base_config

Description: Specifies the display manager

x11_enable_3d_base_config

Description: Enable 3D in X11 windowing system

x11_window_manager_base_config

Description: Specifies the window manager software

x11_resolution_base_config

Description: Specifies the resolution to use for the display device

x11_monitor_display_frequency_base_config

Description: Monitor frequency for the display device

x11_monitor_display_bandwidth_base_config

Description: Monitor bandwidth

x11_monitor_display_height_base_config

Description: Monitor height

x11_monitor_display_max_hsync_base_config

Description: Maximum horizontal sync for the monitor

x11_monitor_display_max_vsync_base_config

Description: Maximum vertical sync for the monitor

x11_monitor_display_min_hsync_base_config

Description: Minimum horizontal sync for the monitor

x11_monitor_display_min_vsync_base_config

Description: Minimum vertical sync for the monitor

x11_monitor_display_width_base_config

Description: Monitor display width

x11_monitor_device_base_config

Description: Monitor device

x11_monitor_vendor_base_config

Description: Monitor vendor

bootloader_location_base_config

Description: Location of the bootloader

Default value: mbr

bootloader_repl_mbr_base_config

Description: Specifies whether to clear the Master Boot Record (mbr)

Default value: true

bootloader_initrd_modules_base_config

Description: Specifies the initrd bootloader modules

bootloader_kernel_parameters_base_config

Description: Specifies kernel parameters for the bootloader

bootloader_loader_type_base_config

Description: Specifies the type of bootloader

Default value: grub

bootloader_loader_device_base_config

Description: Specifies the bootloader device

general_keyboard_base_config

Description: Specifies the keyboard map

Default value: english-us

general_mouse_id_base_config

Description: Specifies the mouse ID

Default value: none

general_mouse_device_base_config

Description: Specifies the mouse device

general_clock_hwclock_base_config

Description: Specifies the hardware clock (UTC, localtime)

Default value: localtime

general_timezone_base_config

Description: Specifies the time zone

Default value: US/Pacific

general_language_base_config

Description: Specifies the language to install on the system

Default value: en_US

general_mode_confirm_base_config

Description: Confirm mode (true, false)

Default value: false

general_mode_forceboot_base_config

Description: Force boot (true, false)

Default value: true

general_mode_interactive_boot_base_config

Description: Interactive boot (true, false)

Default value: false

general_mode_reboot_base_config

Description: Reboot (true, false)

Default value: true

dhclient_additional_options_base_config

Description: Specifies additional DHCP client options

dhclient_client_id_base_config

Description: DHCP client ID

dhclient_hostname_option_base_config

Description: DHCP host name options

drive_list_base_config

Description:Pipe-separated list of hard drives on the target host. The variable value requires the following syntax.

name!init!use!device

For example:

sda!true!all!/dev/sda|sdb!true!linux!/dev/sdb 

The previous example identifies two hard drives with the following set of variable and value pairs

base_config_drive_list="sda sdb"

base_config_drive_sda_init=true
base_config_drive_sda_use=all
base_config_drive_sda_device=/dev/sda

base_config_drive_sdb_init=true
base_config_drive_sdb_use=linux
base_config_drive_sdb_device=/dev/sdb 

Default value: sda!true!all!/dev/sda

partition_1_drive_base_config

Description: Drive name for the partition. The value of this variable must be one of the drives you declared in the drive_list_base_config.

The partition variables must start at 1 and mus increase sequentially without skipping any numbers.

Default value: sda

partition_1_id_base_config

Description: Partition ID for the partition

Example:

partition_1_nr_base_config

Description: Partition number for the partition

Example:

partition_1_mount_base_config

Description: Mount point for the partition

Default value: /boot

partition_1_filesystem_base_config

Description: File system type for the partition

Default value: ext3

partition_1_format_base_config

Description: Specifies whether to format the partition (true, false)

Default value: true

partition_1_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

Default value: 100M

partition_1_raid_device_base_config

Description: RAID device for the partition

Example:

partition_1_primary_base_config

Description: Force the partition as a primary partition (true, false)

Default value: true

partition_2_drive_base_config

Description: Drive name for the partition

Default value: sda

partition_2_id_base_config

Description: Partition ID for the partition

Example:

partition_2_nr_base_config

Description: Partition number for the partition

Example:

partition_2_mount_base_config

Description: Mount point for the partition

Default value: /

partition_2_filesystem_base_config

Description: File system type for the partition

Default value: ext3

partition_2_format_base_config

Description: Specifies whether to format the partition (true, false)

Default value: true

partition_2_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

Default value: 10GB

partition_2_raid_device_base_config

Description: RAID device for the partition

Example:

partition_2_primary_base_config

Description: Force the partition as a primary partition (true, false)

Default value: true

partition_3_drive_base_config

Description: Drive name for the partition

Default value: sda

partition_3_id_base_config

Description: Partition ID for the partition

Example:

partition_3_nr_base_config

Description: Partition number for the partition

Example:

partition_3_mount_base_config

Description: Mount point for the partition

Default value: swap

partition_3_filesystem_base_config

Description: File system type for the partition

Default value: swap

partition_3_format_base_config

Description: Specifies whether to format the partition (true, false)

Default value: true

partition_3_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

Default value: 4096M

partition_3_raid_device_base_config

Description: RAID device for the partition

Example:

partition_3_primary_base_config

Description: Force the partition as a primary partition (true, false)

Default value: true

partition_4_drive_base_config

Description: Drive name for the partition

partition_4_id_base_config

Description: Partition ID for the partition

partition_4_nr_base_config

Description: Partition number for the partition

partition_4_mount_base_config

Description: Mount point for the partition

partition_4_filesystem_base_config

Description: File system type for the partition

Default value: ext3

partition_4_format_base_config

Description: Specifies whether to format the partition (true, false)

Default value: true

partition_4_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

partition_4_raid_device_base_config

Description: RAID device for the partition

partition_4_primary_base_config

Description: Force the partition as a primary partition (true, false)

Default value: true

partition_5_drive_base_config

Description: Drive name for the partition

Default value: sda

partition_5_id_base_config

Description: Partition ID for the partition

Example:

partition_5_nr_base_config

Description: Partition number for the partition

partition_5_mount_base_config

Description: Mount point for the partition

partition_5_filesystem_base_config

Description: File system type for the partition

partition_5_format_base_config

Description: Specifies whether to format the partition (true, false)

partition_5_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

partition_5_raid_device_base_config

Description: RAID device for the partition

partition_51_primary_base_config

Description: Force the partition as a primary partition (true, false)

partition_6_drive_base_config

Description: Drive name for the partition

partition_6_id_base_config

Description: Partition ID for the partition

partition_6_nr_base_config

Description: Partition number for the partition

partition_6_mount_base_config

Description: Mount point for the partition

partition_6_filesystem_base_config

Description: File system type for the partition

partition_6_format_base_config

Description: Specifies whether to format the partition (true, false)

partition_6_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

partition_6_raid_device_base_config

Description: RAID device for the partition

partition_6_primary_base_config

Description: Force the partition as a primary partition (true, false)

partition_7_drive_base_config

Description: Drive name for the partition

Default value: sda

partition_7_id_base_config

Description: Partition ID for the partition

partition_7_nr_base_config

Description: Partition number for the partition

partition_7_mount_base_config

Description: Mount point for the partition

partition_7_filesystem_base_config

Description: File system type for the partition

partition_7_format_base_config

Description: Specifies whether to format the partition (true, false)

partition_7_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

partition_7_raid_device_base_config

Description: RAID device for the partition

partition_7_primary_base_config

Description: Force the partition as a primary partition (true, false)

partition_8_drive_base_config

Description: Drive name for the partition

partition_8_id_base_config

Description: Partition ID for the partition

partition_8_nr_base_config

Description: Partition number for the partition

partition_8_mount_base_config

Description: Mount point for the partition

partition_8_filesystem_base_config

Description: File system type for the partition

partition_8_format_base_config

Description: Specifies whether to format the partition (true, false)

partition_8_size_base_config

Description: Partition size of the partition (MB number, auto, or max)

partition_8_raid_device_base_config

Description: RAID device for the partition

partition_8_primary_base_config

Description: Force the partition as a primary partition (true, false)

raid_1_device_base_config

Description: Specifies the device for a RAID volume.

Example: /dev/sda1

raid_1_chunk_size_base_config

Description: Specifies size of a RAID strip in bytes.

raid_1_filesystem_base_config

Description: File system to use on the RAID volume

raid_1_format_base_config

Description: Specifies the format of the RAID volume.

raid_1_parity_algorithm_base_config

Description: The parity algorithm to use with RAID5. The value must be one of left-asymmetric, right-asymmetric, left-symmetric, or right-symmetric.

raid_1_partition_id_base_config

Description:

Default value:

raid_1_persistent_superblock_base_config

Description: Specifies whether to use a persistent superblock (true/false). A persistent superblock is a small disk area allocated at the end of each RAID device, enabling the kernel to safely detect RAID devices even if disks have been moved between SCSI controllers.

raid_1_mount_base_config

Description: Specifies the mount point for the RAID device.

raid_1_format_base_config

Description: Specifies the type of RAID volume (0, 1, or 5) to create

raid_2_device_base_config

Description: Specifies the device for a RAID volume.

Example: /dev/sda2

raid_2_chunk_size_base_config

Description: Specifies size of a RAID strip in bytes.

raid_2_filesystem_base_config

Description: File system to use on the RAID volume

raid_2_format_base_config

Description: Specifies the format of the RAID volume.

raid_2_parity_algorithm_base_config

Description: The parity algorithm to use with RAID5. The value must be one of left-asymmetric, right-asymmetric, left-symmetric, or right-symmetric.

raid_2_partition_id_base_config

Description:

Default value:

raid_2_persistent_superblock_base_config

Description: Specifies whether to use a persistent superblock (true/false). A persistent superblock is a small disk area allocated at the end of each RAID device, enabling the kernel to safely detect RAID devices even if disks have been moved between SCSI controllers.

raid_2_mount_base_config

Description: Specifies the mount point for the RAID device.

raid_2_format_base_config

Description: Specifies the type of RAID volume (0, 1, or 5) to create

software_base_base_config

Description: Specifies the software base to install (Minimal, default, Minimal+X11, Full-Installation.sel)

Default value: Minimal

software_addons_base_config

Description: Specifies addon software to install

software_kernel_base_config

Description: Kernel to install

software_packages_base_config

Description: Space-separated list of additional packages to install

software_remove_base_config

Description: Space-separated list of packages to remove

bootproto_base_config

Description: Boot protocol for the target host.

Default value: dhcp

network_interface_base_config

Description: Network interface to use during provisioning.

Default value: :[targetableComponent:linux_network_interface]

ip_base_config

Description: IP address of the target host.

Default value: :[targetableComponent:ethernet_ip_address]

netmask_base_config

Description: Netmask to use during provisioning.

Default value: :[targetableComponent:ethernet_netmask]

gateway_base_config

Description: Gateway to use during provisioning.

Default value: :[targetableComponent:default_router]

nameservers_base_config

Description: Space-separated list of name servers to use during provisioning.

startmode_base_config

Description: Start mode

Example:

broadcast_base_config

Description: Broadcast

Example:

networkifs_base_config

Description: Specifies additional network interfaces to configure. This variable value is derived from the target host variable networkifs_redhat_base_config

Example: eth1!--ip 1.2.3.4 --netmask 255.255.255.0 --bootproto static

dns_dhcp_hostname_base_config

Description: Specifies whether to acquire a host name from DHCP (true, false)

Default value: false

dns_dhcp_resolv_base_config

Description:Specifies whether to modify the DNS resolve file

Default value: false

hostname_base_config

Description: Host name of the target host.

Default value: :[targetableComponent:installPath]

domain_base_config

Description: DNS domain name

Example: west.example.com

ip_forward_base_config

Description: Specifies whether to enable IP forwarding (true, false)

Example: false

fw_allow_traceroute_base_config

Description: Allow traceroute

fw_autoprotect_services_base_config

Description: Autoprotect services

fw_ipsec_trust_base_config

Description: Trust IPSEC

fw_log_accept_all_base_config

Description: Accept all

fw_log_accept_crit_base_config

Description: Accept critical

fw_log_drop_all_base_config

Description: Drop all

fw_log_drop_crit_base_config

Description: Drop critical

fw_masquerade_base_config

Description: Masquerade

fw_protect_from_internal_base_config

Description: Protect from internal network

fw_route_base_config

Description: Firewall route

fw_start_firewall_base_config

Description: Specifies whether to start the firewall

fw_dev_dmz_base_config

Description: Specifies the interface for the DMZ

fw_dev_ext_base_config

Description: Specifies the external interface

fw_dev_int_base_config

Description: Specifies the internal interface

fw_masq_nets_base_config

Description: Specifies the masquerade networks

fw_services_dmz_ip_base_config

Description: IP address of DMZ

fw_services_dmz_tcp_base_config

Description: List of DMZ TCP services. Specify a name list, a port number, or minimum and maximum range.

fw_services_dmz_udp_base_config

Description: List of DMZ UDP services. Specify a name list, a port number, or minimum and maximum range.

fw_services_ext_ip_base_config

Description: External IP address

fw_services_ext_tcp_base_config

Description: List of external TCP services. Specify a name list, a port number, or minimum and maximum range.

fw_services_ext_udp_base_config

Description: List of external UDP services. Specify a name list, a port number, or minimum and maximum range.

fw_services_int_ip_base_config

Description: Internal IP address

fw_services_int_tcp_base_config

Description: List of internal TCP services. Specify a name list, a port number, or minimum and maximum range.

fw_services_int_udp_base_config

Description: List of internal UDP services. Specify a name list, a port number, or minimum and maximum range.

script_pre_1_base_config

Description: Specifies the location of a preinstall script on the JET server.

script_pre_1_interpreter_base_config

Description: Specifies the interpreter for the preinstall script.

script_post_1_base_config

Description: Specifies the location of a postinstall script on the JET server.

script_post_1_interpreter_base_config

Description: Specifies the interpreter for the postinstall script.

script_chroot_1_base_config

Description: Specifies whether to run the postinstall script in a jail in an alternate root directory.

script_chroot_1_interpreter_base_config

Description: Interpreter to use for the postinstall script.

script_chroot_1_chrooted_base_config

Description: Specifies whether to run the script in a different root directory.

partitionadd_base_config

Description: Adds partitions to the target host, starting with partition 9. The variable value requires the following syntax.

n!drive!id!nr!mount!filesystem!format!size!raid_device!primary

The previous summary includes the following elements.

n specifies the partition number.

drive specifies the device for the partition.

id specifies the ID for the partition.

nr specifies the partition number.

mount specifies the mount point for the partition.

filesystem specifies the file system type for the partition.

format specifies whether to format the partition.

size specifies the size in MBs of the partition.

maxsize specifies the maximum size for the partition.

grow specifies whether to enable the partition to grow.

primary specifies whether to force this partition as a primary partition.

Include the information for all the additional partitions you want to create in the variable value. For example, if you want to create a ninth and tenth partition, set this variable to a value similar to this example.

9!sda!!!/export9!ext3!true!10GB!!!

This value creates the following variable set.

base_config_partition_9_drive=sda
base_config_partition_9_id=
base_config_partition_9_nr=
base_config_partition_9_mount=/export9
base_config_partition_9_filesystem=ext3
base_config_partition_9_format=true
base_config_partition_9_size=10GB
base_config_partition_9_raid_device=
base_config_partition_9_primary= 
raidadd_base_config

Description: Adds RAID devices to the target host, starting with device 3. The variable value requires the following syntax.

n!device!chunk_size!filesystem!format!parity_algorithm!partition_id!persistent_superblock!mount!raid_type

The previous summary includes the following elements.

n specifies the RAID volume number.

device specifies the device for the RAID volume.

chunk_size specifies the RAID level for the volume.

filesystem specifies the file system to use on the RAID volume..

format specifies whether to format the disk to be used as the RAID volume.

parity_algorithm specifies the algorithm to use to check the integrity of the RAID volumes.

partition_id specifies the partition ID for the RAID volume.

persistent_superblock specifies whether to create a persistent superblock on the RAID device.

mount specifies the mount point for the RAID volume.

raid_type specifies the type of RAID volume.

Include the information for all the additional partitions you want to create in the variable value. The raidadd_base_config variable uses the same basic syntax as the partitionadd_base_config variable.

scriptpreadd_base_config

Description: Adds additional preinstall scripts to the OS provisioning profile, starting with the number 2. The variable value requires the following syntax.

n!pre!pre_interpreter

The previous summary includes the following elements.

n specifies the script index number. Start with the index number 2.

pre specifies the name of the preinstall script.

pre_interpreter specifies the interpreter to use with the preinstall script.

Include the information for all the additional preinstall scripts you want to use in the variable value. The scriptpreadd_base_config variable uses the same basic syntax as the partitionadd_base_config variable.

scriptpostadd_base_config

Description: Adds additional postinstall scripts to the OS provisioning profile, starting with the number 2. The variable value requires the following syntax.

n!post!post_interpreter

The previous summary includes the following elements.

n specifies the script index number. Start with the index number 2.

post specifies the name of the postinstall script.

post_interpreter specifies the interpreter to use with the postinstall script.

Include the information for all the additional postinstall scripts you want to use in the variable value. The scriptpostadd_base_config variable uses the same basic syntax as the partitionadd_base_config variable.

scriptchrootadd_base_config

Description: Adds additional chroot scripts to the OS provisioning profile, starting with the number 2. The variable value requires the following syntax.

n!chroot!interpreter!chrooted

The previous summary includes the following elements.

n specifies the script index number. Start with the index number 2.

chroot specifies the name of the chrootscript.

interpreter specifies the interpreter to use with the chroot script.

chrooted specifies whether to run the script in an different root directory.

Include the information for all the additional postinstall scripts you want to use in the variable value. The scriptpostadd_base_config variable uses the same basic syntax as the partitionadd_base_config variable.