[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: stateless problems



Hi,

On Mon, 2004-11-15 at 13:16 -0500, Peter Schobel wrote:
> i'm having a few problems with setting up stateless linux for the
> rsync-based cached instantiation model
> 
> first of all, i couldn't get the post install script in the kickstart
> file to work. and i'm not sure why because i could not see any output
> from that script but i know that when the system would reboot, the
> stateless-client package would not be installed

	What I was doing in the end was:

  - Rather than using the yum-from-kickstart hack I'd recommend copying
    that stateless-* and readonly-root RPMs into a rawhide install tree
    and then doing:

  $> genhdlist --hdlist /path/to/install/tree/Fedora/base/hdlist --productpath Fedora /path/to/tree

  - And then using the kickstart file attached.

	It'd be great if you could confirm that works and send patches for the
HOWTO.

Cheers,
Mark.
#Generated by Kickstart Configurator
#platform=x86, AMD64, or Intel EM64T

#System  language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse genericwheelps/2
#Sytem timezone
timezone America/New_York
#Root password
rootpw --iscrypted $1$zt.yCm/N$46LGQtvmSC9Vmukw8ac3I.
#Reboot after installation
reboot
#Install OS instead of upgrade
install
#Use NFS installation Media
nfs --server=toaster.boston.redhat.com --dir=/vol/vol1/redhat/fc2-i386
#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#Disk partitioning information
part /boot --fstype ext3 --size 100 --ondisk hda 
part /reserve-boot --fstype ext3 --size 100 --ondisk hda
part /reserve-root --fstype ext3 --size 3072 --ondisk hda
part / --fstype ext3 --size 3072 --ondisk hda

#System authorization infomation
auth  --useshadow  --enablemd5 
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --enabled 
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
rsync
-anacron
-ash
-aspell
-aspell
-aspell-en
-at
-attr
-authconfig
-autofs
-bind-utils
-comps
-crontabs
-dos2unix
-dump
-fbset
-finger
-ftp
-gnupg
-groff
-hesiod
-irda-utils
-isdn4k-utils
-jwhois
-lftp
-lha
-libpcap
-libwvstreams
-logrotate
-logwatch
-lrzsz
-lsof
-mailx
-man
-man-pages
-mdadm
-minicom
-mtr
-mt-st
-nano
-nc
-netconfig
-netdump
-nss_ldap
-ntsysv
-openssh-server
-pam_smb
-parted
-pax
-perl
-perl-Filter
-pinfo
-policy
-policycoreutils
-ppp
-prelink
-psacct
-python-optik
-quota
-rdate
-rdist
-rhnlib
-rmt
-rp-pppoe
-rsh
-schedutils
-sendmail
-slocate
-specspo
-star
-statserial
-stunnel
-sudo
-symlinks
-system-config-mouse
-system-config-network-tui
-system-config-securitylevel-tui
-talk
-tcpdump
-tcsh
-telnet
-time
-traceroute
-unix2dos
-unzip
-up2date
-utempter
-vconfig
-vim-minimal
-vixie-cron
-wget
-wvdial
-ypbind
-yp-tools
-zip
readonly-root
stateless-client

%post
cat > /etc/sysconfig/stateless << EOF
LDAP_SERVER=foo
LDAP_BASE_DN=dc=foo,dc=bar,dc=com
EOF

cd /usr/share/stateless
./stateless-boostrap.py -r /reserve-root -b /reserve-boot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]