#! /bin/sh set -e echo -n '.' > 2 # Create a config.xml. cat >/mnt/erp5_cd/config.xml <<EOF <erp5> <group id="nexedi"> <host id="master"> <hostname>erp5</hostname> <domainname>localdomain</domainname> <connection_type>static</connection_type> <!-- static or dhcp --> <network_device>eth0</network_device> <ip_address>192.168.254.20</ip_address> <netmask>255.255.255.0</netmask> <network_address>192.168.254.0</network_address> <broadcast_address>192.168.254.255</broadcast_address> <gateway>192.168.254.254</gateway> <nameservers>192.168.254.254</nameservers> <!-- separated by spaces--> <wlan_wep_key></wlan_wep_key> <wlan_essid></wlan_essid> <wlan_channel></wlan_channel> <cups_network></cups_network> <time_zone>UTC</time_zone> <!-- Look in /usr/share/zoneinfo/ --> <system_language>en_US</system_language> <!-- lang_COUNTRY --> <root_password>erp5root</root_password> <user_password>erp5user</user_password> <zope_password>zope</zope_password> <web_password>erp5web</web_password> <!-- Not used --> </host> </group> </erp5> EOF echo -n '.' > 2 # Run autoconf.py. /root/autoconf.py nexedi master