Synched up xCAT code to the latest. Added native SCSI/FCP support onto trunk. Replaced tabs with 4 spaces.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2012-10-15 01:50:28 +00:00
parent c14747ac04
commit 6256117b49
10 changed files with 2407 additions and 200 deletions

View File

@ -722,7 +722,7 @@ sub getUserEntryWODisk {
return;
}
my $out = `ssh $hcp "$dir/getuserentry $userId" | grep -v "MDISK"`;
my $out = `ssh $hcp "$dir/smcli Image_Query_DM -T $userId" | sed '\$d' | grep -v "MDISK"`;
# Create a file to save output
open( DIRENTRY, ">$file" );
@ -1111,12 +1111,12 @@ sub getUserProfile {
if ( $curTime > $fileTime + $interval ) {
# Get user profiles and save it in a file
$out = `ssh $hcp "$hcpDir/getuserprofile $profile > $file"`;
$out = `ssh $hcp "$hcpDir/smcli Profile_Query_DM -T $profile > $file"`;
}
} else {
# Get user profiles and save it in a file
$out = `ssh $hcp "$hcpDir/getuserprofile $profile > $file"`;
$out = `ssh $hcp "$hcpDir/smcli Profile_Query_DM -T $profile > $file"`;
}
# Return the file contents
@ -1188,4 +1188,70 @@ sub getOsVersion {
}
return xCAT::zvmUtils->trimStr($os);
}
#-------------------------------------------------------
=head3 getZfcpInfo
Description : Get the zFCP device info
Arguments : Node
Returns : zFCP device info
Example : my $info = xCAT::zvmUtils->getZfcpInfo($node);
=cut
#-------------------------------------------------------
sub getZfcpInfo {
# Get inputs
my ( $class, $node ) = @_;
# Get zFCP device info
my $info = `ssh -o ConnectTimeout=2 $node "lszfcp -D"`;
my @zfcp = split("\n", $info);
if (!$info || $info =~ m/No zfcp support/i) {
return;
}
# Get SCSI device and their attributes
my $scsi = `ssh -o ConnectTimeout=2 $node "lsscsi"`;
$info = "";
my @args;
my $tmp;
my $id;
my $device;
my $wwpn;
my $lun;
my $size;
foreach (@zfcp) {
@args = split(" ", $_);
$id = $args[1];
@args = split("/", $args[0]);
$device = $args[0];
$wwpn = $args[1];
$lun = $args[2];
# Make sure WWPN and LUN do not have 0x prefix
$wwpn = xCAT::zvmUtils->replaceStr($wwpn, "0x", "");
$lun = xCAT::zvmUtils->replaceStr($lun, "0x", "");
# Find the device name
$tmp = `echo "$scsi" | egrep -i $id`;
$tmp = substr($tmp, index($tmp, "/dev/"));
chomp($tmp);
# Find the size in MiB
$size = `ssh -o ConnectTimeout=2 $node "sg_readcap $tmp" | egrep -i "Device size:"`;
$size =~ s/Device size: //g;
@args = split(",", $size);
$size = xCAT::zvmUtils->trimStr($args[1]);
$info .= "Device: $device WWPN: 0x$wwpn LUN: 0x$lun Size: $size\n";
}
$info = xCAT::zvmUtils->tabStr($info);
return ($info);
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
@base
@core
@base-x
fipscheck
device-mapper-multipath
sgpio
apr

View File

@ -0,0 +1,32 @@
# Kickstart file
install
url --url replace_url
key --skip
lang en_US.UTF-8
network --bootproto dhcp
rootpw replace_rootpw
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append=" crashkernel=auto"
reboot
key --skip
# Define zFCP channel devices
# The order determines the drive name, such as sda, sdb, etc.
replace_root_device
# Removes partitions from the devices
clearpart --all --drives=sda
# Create root partition and swap space
part / --fstype=ext3 --size=100 --grow --ondisk=sda
part swap --recommended --ondisk=sda
# Install software packages
%packages
replace_software_packages
%post

View File

@ -0,0 +1,3 @@
@base
@core
apr

View File

@ -0,0 +1,32 @@
# Kickstart file
install
url --url replace_url
key --skip
lang en_US.UTF-8
network --bootproto dhcp
rootpw replace_rootpw
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append=" crashkernel=auto"
reboot
key --skip
# Define zFCP channel devices
# The order determines the drive name, such as sda, sdb, etc.
replace_root_device
# Removes partitions from the devices
clearpart --all --drives=sda
# Create root partition and swap space
part / --fstype=ext3 --size=100 --grow --ondisk=sda
part swap --recommended --ondisk=sda
# Install software packages
%packages
replace_software_packages
%post

View File

@ -0,0 +1,3 @@
@base
libapr1

View File

@ -0,0 +1,709 @@
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<general>
<mode>
<confirm config:type="boolean">false</confirm>
</mode>
<mouse>
<id>none</id>
</mouse>
<signature-handling/>
</general>
<!-- Groups to create on Linux -->
<groups config:type="list">
<group>
<groupname>users</groupname>
<userlist></userlist>
</group>
<group>
<groupname>floppy</groupname>
<userlist></userlist>
</group>
<group>
<groupname>bin</groupname>
<userlist>daemon</userlist>
</group>
<group>
<groupname>xok</groupname>
<userlist></userlist>
</group>
<group>
<groupname>nobody</groupname>
<userlist></userlist>
</group>
<group>
<groupname>modem</groupname>
<userlist></userlist>
</group>
<group>
<groupname>lp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>tty</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>postfix</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>gdm</groupname>
<userlist></userlist>
</group>
<group>
<groupname>nogroup</groupname>
<userlist>nobody</userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>maildrop</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>messagebus</groupname>
<userlist></userlist>
</group>
<group>
<groupname>video</groupname>
<userlist></userlist>
</group>
<group>
<groupname>sys</groupname>
<userlist></userlist>
</group>
<group>
<groupname>shadow</groupname>
<userlist></userlist>
</group>
<group>
<groupname>console</groupname>
<userlist></userlist>
</group>
<group>
<groupname>cdrom</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>haldaemon</groupname>
<userlist></userlist>
</group>
<group>
<groupname>trusted</groupname>
<userlist></userlist>
</group>
<group>
<groupname>dialout</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ts-shell</groupname>
<userlist></userlist>
</group>
<group>
<groupname>wheel</groupname>
<userlist></userlist>
</group>
<group>
<groupname>www</groupname>
<userlist></userlist>
</group>
<group>
<groupname>games</groupname>
<userlist></userlist>
</group>
<group>
<groupname>disk</groupname>
<userlist></userlist>
</group>
<group>
<groupname>audio</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>suse-ncc</groupname>
<userlist></userlist>
</group>
<group>
<groupname>ftp</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>at</groupname>
<userlist></userlist>
</group>
<group>
<groupname>kmem</groupname>
<userlist></userlist>
</group>
<group>
<groupname>public</groupname>
<userlist></userlist>
</group>
<group>
<groupname>root</groupname>
<userlist></userlist>
</group>
<group>
<groupname>mail</groupname>
<userlist></userlist>
</group>
<group>
<groupname>daemon</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ntp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>uucp</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ntadmin</groupname>
<userlist></userlist>
</group>
<group>
<groupname>man</groupname>
<userlist></userlist>
</group>
<group>
<groupname>utmp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>news</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>sshd</groupname>
<userlist></userlist>
</group>
</groups>
<!-- Contents of /etc/hosts -->
<host>
<hosts config:type="list">
<hosts_entry>
<host_address>127.0.0.1</host_address>
<names config:type="list">
<name>localhost</name>
</names>
</hosts_entry>
<hosts_entry>
<host_address>replace_host_address</host_address>
<names config:type="list">
<name>replace_long_name replace_short_name</name>
</names>
</hosts_entry>
</hosts>
</host>
<iscsi-client>
<initiatorname></initiatorname>
<targets config:type="list"/>
<version>1.0</version>
</iscsi-client>
<!-- Language setup (english) -->
<language>
<language>en_US</language>
<languages></languages>
</language>
<!-- Networking setup (DHCP) -->
<networking>
<dhcp_options>
<dhclient_additional_options></dhclient_additional_options>
<dhclient_client_id></dhclient_client_id>
<dhclient_hostname_option>AUTO</dhclient_hostname_option>
</dhcp_options>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<domain>replace_domain</domain>
<hostname>replace_hostname</hostname>
<nameservers config:type="list">
<nameserver>replace_nameserver</nameserver>
</nameservers>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>replace_device</device>
<lladdr>replace_lladdr</lladdr>
<startmode>auto</startmode>
<usercontrol>no</usercontrol>
</interface>
</interfaces>
<managed config:type="boolean">false</managed>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway>replace_gateway</gateway>
<netmask>replace_netmask</netmask>
</route>
</routes>
</routing>
</networking>
<nis>
<nis_broadcast config:type="boolean">false</nis_broadcast>
<nis_broken_server config:type="boolean">false</nis_broken_server>
<nis_by_dhcp config:type="boolean">false</nis_by_dhcp>
<nis_domain></nis_domain>
<nis_local_only config:type="boolean">false</nis_local_only>
<nis_options></nis_options>
<nis_other_domains config:type="list">
</nis_other_domains>
<nis_servers config:type="list"/>
<start_autofs config:type="boolean">false</start_autofs>
<start_nis config:type="boolean">false</start_nis>
</nis>
<!-- File system partitioning -->
<partitioning config:type="list">
<!-- Root partition and swap space -->
<drive>
<device>replace_root_device</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<mount>/</mount>
<mountby config:type="symbol">path</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<size>max</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<mount>swap</mount>
<mountby config:type="symbol">path</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<partition_type>primary</partition_type>
<size>auto</size>
</partition>
</partitions>
<use>all</use>
</drive>
</partitioning>
<proxy>
<enabled config:type="boolean">false</enabled>
<ftp_proxy></ftp_proxy>
<http_proxy></http_proxy>
<https_proxy></https_proxy>
<no_proxy>localhost, 127.0.0.1</no_proxy>
<proxy_password></proxy_password>
<proxy_user></proxy_user>
</proxy>
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</warnings>
<yesno_messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</yesno_messages>
</report>
<runlevel>
<default>5</default>
</runlevel>
<!-- Software to install on Linux -->
<software>
<patterns config:type="list">
replace_software_patterns
</patterns>
<packages config:type="list">
replace_software_packages
</packages>
</software>
<!-- Time zone -->
<timezone>
<hwclock>UTC</hwclock>
<timezone>US/Eastern</timezone>
</timezone>
<user_defaults>
<expire></expire>
<group>100</group>
<groups>video,dialout</groups>
<home>/home</home>
<inactive>-1</inactive>
<shell>/bin/bash</shell>
<skel>/etc/skel</skel>
</user_defaults>
<!-- Users on Linux -->
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Games account</fullname>
<gid>100</gid>
<home>/var/games</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>12</uid>
<user_password>*</user_password>
<username>games</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>bin</fullname>
<gid>1</gid>
<home>/bin</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>1</uid>
<user_password>*</user_password>
<username>bin</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>nobody</fullname>
<gid>65533</gid>
<home>/var/lib/nobody</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>65534</uid>
<user_password>*</user_password>
<username>nobody</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Printing daemon</fullname>
<gid>7</gid>
<home>/var/spool/lpd</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>4</uid>
<user_password>*</user_password>
<username>lp</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Postfix Daemon</fullname>
<gid>51</gid>
<home>/var/spool/postfix</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>51</uid>
<user_password>!</user_password>
<username>postfix</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Novell Customer Center User</fullname>
<gid>106</gid>
<home>/var/lib/YaST2/suse-ncc-fakehome</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>102</uid>
<user_password>!</user_password>
<username>suse-ncc</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>FTP account</fullname>
<gid>49</gid>
<home>/srv/ftp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>40</uid>
<user_password>*</user_password>
<username>ftp</username>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>replace_root_password</user_password>
<username>root</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Mailer daemon</fullname>
<gid>12</gid>
<home>/var/spool/clientmqueue</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/false</shell>
<uid>8</uid>
<user_password>*</user_password>
<username>mail</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Daemon</fullname>
<gid>2</gid>
<home>/sbin</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>2</uid>
<user_password>*</user_password>
<username>daemon</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>NTP daemon</fullname>
<gid>103</gid>
<home>/var/lib/ntp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>74</uid>
<user_password>!</user_password>
<username>ntp</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Unix-to-Unix CoPy system</fullname>
<gid>14</gid>
<home>/etc/uucp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>10</uid>
<user_password>*</user_password>
<username>uucp</username>
</user>
<user>
<fullname>User for D-BUS</fullname>
<gid>101</gid>
<home>/var/run/dbus</home>
<shell>/bin/false</shell>
<uid>100</uid>
</user>
<user>
<fullname>User for haldaemon</fullname>
<gid>102</gid>
<home>/var/run/hal</home>
<shell>/bin/false</shell>
<uid>101</uid>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>WWW daemon apache</fullname>
<gid>8</gid>
<home>/var/lib/wwwrun</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/false</shell>
<uid>30</uid>
<user_password>*</user_password>
<username>wwwrun</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Manual pages viewer</fullname>
<gid>62</gid>
<home>/var/cache/man</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>13</uid>
<user_password>*</user_password>
<username>man</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>News system</fullname>
<gid>13</gid>
<home>/etc/news</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>9</uid>
<user_password>*</user_password>
<username>news</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>SSH daemon</fullname>
<gid>65</gid>
<home>/var/lib/sshd</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>71</uid>
<user_password>!</user_password>
<username>sshd</username>
</user>
</users>
<zfcp>
replace_zfcp
</zfcp>
<!-- Scripts (post-script) -->
<configure>
<scripts>
</scripts>
</configure>
</profile>

View File

@ -0,0 +1,3 @@
@base
libapr1

View File

@ -0,0 +1,709 @@
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<general>
<mode>
<confirm config:type="boolean">false</confirm>
</mode>
<mouse>
<id>none</id>
</mouse>
<signature-handling/>
</general>
<!-- Groups to create on Linux -->
<groups config:type="list">
<group>
<groupname>users</groupname>
<userlist></userlist>
</group>
<group>
<groupname>floppy</groupname>
<userlist></userlist>
</group>
<group>
<groupname>bin</groupname>
<userlist>daemon</userlist>
</group>
<group>
<groupname>xok</groupname>
<userlist></userlist>
</group>
<group>
<groupname>nobody</groupname>
<userlist></userlist>
</group>
<group>
<groupname>modem</groupname>
<userlist></userlist>
</group>
<group>
<groupname>lp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>tty</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>postfix</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>gdm</groupname>
<userlist></userlist>
</group>
<group>
<groupname>nogroup</groupname>
<userlist>nobody</userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>maildrop</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>messagebus</groupname>
<userlist></userlist>
</group>
<group>
<groupname>video</groupname>
<userlist></userlist>
</group>
<group>
<groupname>sys</groupname>
<userlist></userlist>
</group>
<group>
<groupname>shadow</groupname>
<userlist></userlist>
</group>
<group>
<groupname>console</groupname>
<userlist></userlist>
</group>
<group>
<groupname>cdrom</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>haldaemon</groupname>
<userlist></userlist>
</group>
<group>
<groupname>trusted</groupname>
<userlist></userlist>
</group>
<group>
<groupname>dialout</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ts-shell</groupname>
<userlist></userlist>
</group>
<group>
<groupname>wheel</groupname>
<userlist></userlist>
</group>
<group>
<groupname>www</groupname>
<userlist></userlist>
</group>
<group>
<groupname>games</groupname>
<userlist></userlist>
</group>
<group>
<groupname>disk</groupname>
<userlist></userlist>
</group>
<group>
<groupname>audio</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>suse-ncc</groupname>
<userlist></userlist>
</group>
<group>
<groupname>ftp</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>at</groupname>
<userlist></userlist>
</group>
<group>
<groupname>kmem</groupname>
<userlist></userlist>
</group>
<group>
<groupname>public</groupname>
<userlist></userlist>
</group>
<group>
<groupname>root</groupname>
<userlist></userlist>
</group>
<group>
<groupname>mail</groupname>
<userlist></userlist>
</group>
<group>
<groupname>daemon</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ntp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>uucp</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>ntadmin</groupname>
<userlist></userlist>
</group>
<group>
<groupname>man</groupname>
<userlist></userlist>
</group>
<group>
<groupname>utmp</groupname>
<userlist></userlist>
</group>
<group>
<groupname>news</groupname>
<userlist></userlist>
</group>
<group>
<group_password>!</group_password>
<groupname>sshd</groupname>
<userlist></userlist>
</group>
</groups>
<!-- Contents of /etc/hosts -->
<host>
<hosts config:type="list">
<hosts_entry>
<host_address>127.0.0.1</host_address>
<names config:type="list">
<name>localhost</name>
</names>
</hosts_entry>
<hosts_entry>
<host_address>replace_host_address</host_address>
<names config:type="list">
<name>replace_long_name replace_short_name</name>
</names>
</hosts_entry>
</hosts>
</host>
<iscsi-client>
<initiatorname></initiatorname>
<targets config:type="list"/>
<version>1.0</version>
</iscsi-client>
<!-- Language setup (english) -->
<language>
<language>en_US</language>
<languages></languages>
</language>
<!-- Networking setup (DHCP) -->
<networking>
<dhcp_options>
<dhclient_additional_options></dhclient_additional_options>
<dhclient_client_id></dhclient_client_id>
<dhclient_hostname_option>AUTO</dhclient_hostname_option>
</dhcp_options>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<domain>replace_domain</domain>
<hostname>replace_hostname</hostname>
<nameservers config:type="list">
<nameserver>replace_nameserver</nameserver>
</nameservers>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>replace_device</device>
<lladdr>replace_lladdr</lladdr>
<startmode>auto</startmode>
<usercontrol>no</usercontrol>
</interface>
</interfaces>
<managed config:type="boolean">false</managed>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway>replace_gateway</gateway>
<netmask>replace_netmask</netmask>
</route>
</routes>
</routing>
</networking>
<nis>
<nis_broadcast config:type="boolean">false</nis_broadcast>
<nis_broken_server config:type="boolean">false</nis_broken_server>
<nis_by_dhcp config:type="boolean">false</nis_by_dhcp>
<nis_domain></nis_domain>
<nis_local_only config:type="boolean">false</nis_local_only>
<nis_options></nis_options>
<nis_other_domains config:type="list">
</nis_other_domains>
<nis_servers config:type="list"/>
<start_autofs config:type="boolean">false</start_autofs>
<start_nis config:type="boolean">false</start_nis>
</nis>
<!-- File system partitioning -->
<partitioning config:type="list">
<!-- Root partition and swap space -->
<drive>
<device>replace_root_device</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<mount>/</mount>
<mountby config:type="symbol">path</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<size>max</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<mount>swap</mount>
<mountby config:type="symbol">path</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<partition_type>primary</partition_type>
<size>auto</size>
</partition>
</partitions>
<use>all</use>
</drive>
</partitioning>
<proxy>
<enabled config:type="boolean">false</enabled>
<ftp_proxy></ftp_proxy>
<http_proxy></http_proxy>
<https_proxy></https_proxy>
<no_proxy>localhost, 127.0.0.1</no_proxy>
<proxy_password></proxy_password>
<proxy_user></proxy_user>
</proxy>
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</warnings>
<yesno_messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</yesno_messages>
</report>
<runlevel>
<default>5</default>
</runlevel>
<!-- Software to install on Linux -->
<software>
<patterns config:type="list">
replace_software_patterns
</patterns>
<packages config:type="list">
replace_software_packages
</packages>
</software>
<!-- Time zone -->
<timezone>
<hwclock>UTC</hwclock>
<timezone>US/Eastern</timezone>
</timezone>
<user_defaults>
<expire></expire>
<group>100</group>
<groups>video,dialout</groups>
<home>/home</home>
<inactive>-1</inactive>
<shell>/bin/bash</shell>
<skel>/etc/skel</skel>
</user_defaults>
<!-- Users on Linux -->
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Games account</fullname>
<gid>100</gid>
<home>/var/games</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>12</uid>
<user_password>*</user_password>
<username>games</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>bin</fullname>
<gid>1</gid>
<home>/bin</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>1</uid>
<user_password>*</user_password>
<username>bin</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>nobody</fullname>
<gid>65533</gid>
<home>/var/lib/nobody</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>65534</uid>
<user_password>*</user_password>
<username>nobody</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Printing daemon</fullname>
<gid>7</gid>
<home>/var/spool/lpd</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>4</uid>
<user_password>*</user_password>
<username>lp</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Postfix Daemon</fullname>
<gid>51</gid>
<home>/var/spool/postfix</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>51</uid>
<user_password>!</user_password>
<username>postfix</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Novell Customer Center User</fullname>
<gid>106</gid>
<home>/var/lib/YaST2/suse-ncc-fakehome</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>102</uid>
<user_password>!</user_password>
<username>suse-ncc</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>FTP account</fullname>
<gid>49</gid>
<home>/srv/ftp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>40</uid>
<user_password>*</user_password>
<username>ftp</username>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>replace_root_password</user_password>
<username>root</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Mailer daemon</fullname>
<gid>12</gid>
<home>/var/spool/clientmqueue</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/false</shell>
<uid>8</uid>
<user_password>*</user_password>
<username>mail</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Daemon</fullname>
<gid>2</gid>
<home>/sbin</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>2</uid>
<user_password>*</user_password>
<username>daemon</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>NTP daemon</fullname>
<gid>103</gid>
<home>/var/lib/ntp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>74</uid>
<user_password>!</user_password>
<username>ntp</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Unix-to-Unix CoPy system</fullname>
<gid>14</gid>
<home>/etc/uucp</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>10</uid>
<user_password>*</user_password>
<username>uucp</username>
</user>
<user>
<fullname>User for D-BUS</fullname>
<gid>101</gid>
<home>/var/run/dbus</home>
<shell>/bin/false</shell>
<uid>100</uid>
</user>
<user>
<fullname>User for haldaemon</fullname>
<gid>102</gid>
<home>/var/run/hal</home>
<shell>/bin/false</shell>
<uid>101</uid>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>WWW daemon apache</fullname>
<gid>8</gid>
<home>/var/lib/wwwrun</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/false</shell>
<uid>30</uid>
<user_password>*</user_password>
<username>wwwrun</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>Manual pages viewer</fullname>
<gid>62</gid>
<home>/var/cache/man</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>13</uid>
<user_password>*</user_password>
<username>man</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>News system</fullname>
<gid>13</gid>
<home>/etc/news</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>9</uid>
<user_password>*</user_password>
<username>news</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>SSH daemon</fullname>
<gid>65</gid>
<home>/var/lib/sshd</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/false</shell>
<uid>71</uid>
<user_password>!</user_password>
<username>sshd</username>
</user>
</users>
<zfcp>
replace_zfcp
</zfcp>
<!-- Scripts (post-script) -->
<configure>
<scripts>
</scripts>
</configure>
</profile>